Giter Site home page Giter Site logo

automatic-to's People

Contributors

perrycate avatar

Watchers

 avatar  avatar

automatic-to's Issues

Write critical metadata to persistent storage

When the command is run to open registration, we need to know the ID of the message people are reacting to in order to register people. If the bot crashes or is otherwise turned off before the tournament starts, it has no way of recovering. Things like that message ID should be written somewhere. Maybe a SQLite DB, or if we're lazy we could just pickle it I guess.

Add command to report/confirm scores

I believe the working idea is to @ the bot and the opponent with the score, and then to confirm it by having both players react to that message.

Add proper logging

After each command run or any new events ("called X match", "DQ'd Y player", etc.) we should write to some log that can be looked at later.

Add usage guide

Basically explaining what the commands are, an example tournament scenario, etc. Screenshots would be A+.

Allow specifying stations(/streams)

When calling a match with a station set (or setting the station for a match already in progress?), we can mention the players to inform them.

Add/Remove players from within discord

Need some sort of access control, maybe only accept it from the person that ran !begin?

Lets us add players after !begin and still have the discord-challonge association.

Add a config file

Some of the constants at the top are more likely to be changed by TOs than others. Might as well make it a separate config file.

Add global rate limiting

Right now we set an arbitrary 10-second limit for how often we check challonge for any tournament. If we created a large number of tournaments though, we in theory could be rate-limited. Enforce some sort of intelligent global limits.

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.