GithubHelp home page GithubHelp logo

aetherium-scribe-bot's People

Contributors

pwildenhain avatar

Stargazers

 avatar

Watchers

 avatar

aetherium-scribe-bot's Issues

Validate usernames for scribe and tally

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

Restrict channels for bot

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

Look into vultr for hosting the bot service

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

Erase command

In case someone accidentally records a game with otherwise valid inputs (wrong player, etc), this command will delete their most recent game entry

Create database with models

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 game
    • player: username of player
    • date: date the game was recorded (hopefully near/same day that it was run)

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.