Dynamically deploy servers for competitive CS:GO matches
theo-brown / matchbot Goto Github PK
View Code? Open in Web Editor NEWDynamically deploy servers for competitive CS:GO matches
License: GNU General Public License v3.0
Dynamically deploy servers for competitive CS:GO matches
License: GNU General Public License v3.0
Currently prediction reactions can be added up until the !result
command is run. This means it's possible to change prediction during or after the match.
Sometimes times of matches need to change etc, so it'd be nice to be able to edit a match/result embed using !edit
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.
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.
Currently !result
only works for matches that have been scheduled.
We need to be able to send result embeds that are not in reply to match messages.
Example:
!result @Team1 @Team2 Map 1 16-9
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.
It'd be good to write some docstrings and set up auto-documentation with sphinx before the project gets too big.
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
...
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.