Giter Site home page Giter Site logo

lina's Introduction

As of March 16, 2024, linaSTK (at least, for the original Revolt version) has been discontinued. The Discord version (hosted on Codeberg) will continue to be worked on.

lina

A Revolt bot focused on SuperTuxKart, based on the code from doingus.

Features

  • Search for servers
  • Get currently online servers (aka if server has players in it)
  • Search for users (Max results is 50. It's a limitaion on STK servers)
  • Allows for setting up a channel to display list of online players (Must be done manually for now)
  • Get addon information (only tracks for now)
  • A game that makes you guess what addon it is based on the image it gives you
  • Get player rankings (Only top 10 players for now)
  • "PokeMap" system: A Pokemon-like mechanic where you "catch" and collect addons
  • Query when the user was last online or detected (Inspired by NobWow's stk-seen command) (fully Implemented on rewrite)
  • Get a player's friends list (Only using User IDs for now)

How to set up

(WIP)

Plans for the bot

  • Easy configuration though a configuration file or server commands
  • Opening the bot to the general public (a.k.a it can invited to groups, servers, etc.)
  • Caching player names (so that people can type the username instead of the user ID. It works by taking the usernames from various sources such as user search results and online players)
  • Player tracking (a feature that was widely used the SuperTuxKart Discord Server to allow for tracking player activity via DMs. It used the Snakebot Discord bot via an extension) (Implemented in rewrite)

Disclaimer

This bot relies on a SuperTuxKart account that is always online to retrieve data from API endpoints that require authentication (such as friends lists, rankings, user info, etc.). It is a violation of the SuperTuxKart Terms of Service and could result in your IP possibly being blocked. While we combat these issues by polling SuperTuxKart servers every few minutes (which is normal behavior in the game) and spoofing the user agent to SuperTuxKart/1.4 (Linux), there is no gurantee that it will protect the bot from it. So you use this bot at your own risk.

Credits

  • NobWow - For generously hosting this bot and all of my other bots on his spare laptop. For helping me with the code and mostly SQL stuff. Without him then this bot wouldn't have used databases for things like PokeMap.
  • kimden - For hating on Revolt and the bot

lina's People

Contributors

searinminecraft avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.