pwildenhain / aetherium-scribe-bot Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
If it gets annoying to use !tally
multiple times in a row
And send a helpful error messages to the discord listing the invalid users
Will need to hit the discord API for this
ORRR maybe we don't need to validate the usernames if we just expect that they pass users with the @
tag. Then we just need to validate that they passed through a user object, and reject anything else
Scribe should only have access to one "moderator" only channel. This way, all entries can be backtracked to their origin. We'll have a source of truth for where the entries in the database
Probably just a #scribe
channel would work at first. We can always expand to more channels if that gets annoying/overcrowded
First time members get $250 in credit
Cheapest tier is $2.50 a month (maybe cheaper to take the hourly price, since we will only be touching the database a few times a day at most)
this should last us a very long time, by which point we can def afford to pay for our hosting
Still should put restrictions in place of how much it can be used
Basically just use set()
on members
in scribe
before passing it off to the db
In case someone accidentally records a game with otherwise valid inputs (wrong player, etc), this command will delete their most recent game entry
start off with sqlite for testing -- maybe we could use it in production though with aiosqlite
?
Models:
player_games
: one row per player in each game ran
player_game_key
: unique id for a player in this game (primary key)game_key
: unique id for a particular game (foreign key)dm
: username of dm who ran the gameplayer
: username of playerdate
: date the game was recorded (hopefully near/same day that it was run)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.