Giter Club home page Giter Club logo

matchbot's Introduction

matchbot

Dynamically deploy servers for competitive CS:GO matches

matchbot's People

Contributors

speedstyle avatar theo-brown avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

speedstyle

matchbot's Issues

Toggle reactions on match messages

It would be nice to add the feature that when a user reacts to choose a team, it removes any of their previous reaction predictions on this message.

Move to using aiosqlite

Currently the SQL database is accessed using the in-built sqlite3 module. Given that all the Discord functionality is asynchronous, it makes sense to use the aiosqlite module, which will require a bit of a rewrite.

Setup Pickem leaderboards in another channel

Idea:
One pinned message that gets updated as pickem score changes.
A new message gets sent when pickem scores change saying who gained points.
This will all be kept in a separate channel.

Write docs

It'd be good to write some docstrings and set up auto-documentation with sphinx before the project gets too big.

Allow spaces in `!result` args

Currently spaces in game/map arguments are not handled:
!result Dust 2 16-9
The desired result from this would be:

...
Dust 2: 16-9
...

Store match and result information in SQL database

Information from !match (teams, players, time, prediction reactions) and !result (maps, scores, round difference, winners) is only stored in Discord messages. We need to store it in the SQL database so that it can be used in the next stages of the project.

!result message footers don't work with matches between users

If a !match is scheduled with users, rather than roles, the field names in the embed are just the emoji, and the field values are the user mention.
This means that when !result is run, the footer is empty of a team name, as the team name is pulled from the field name.

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.