Giter VIP home page Giter VIP logo

gam-bot's People

Contributors

camerongraybill avatar cirla avatar darakelian avatar jzlotek avatar

Watchers

 avatar

gam-bot's Issues

Memes

This needs more memes

Display social scores

Social scores should show up in a table somewhere, and there should be a command to get a user's current score.

Deployment/runtime environment

Needs to run somewhere - it could still run in my personal docker environment or it could go to the cloud somewhere too.

Database/storage

The bot needs some kind of persistence. Find a database to use and an ORM to go with it.

Assign roles based on social score

There should be a 'Socialite' score assigned to the highest scored user and a 'basement nerd' role assigned to the lowest scored user.

Update social score on reaction

Users reacting to other users messages with specific emotes should increase or decrease the social score of the reacted to user.

Also removals of reactions should undo the social score change.

Users should be able to make predictions with game coins

Example of use case:

user1: !prediction does the united states have more people in it than Japan? yes,no
bot: Prediction "does the united states have more people in it than Japan?" been created! Please reply in thread with !wager <value> <yes/no>
user1 (reply in thread): !wager 100 yes (100 coins removed from user1, moved into the pot)
user2 (reply in thread): !wager 100 no (100 coins removed from user2, moved into the pot)
user1 (reply in thread, after looking it up): !resolve yes
bot (reply in thread): user1 has been awarded 200 Gam Coins for being smarter than user2!

Need error handling for if a user doesn't have enough coins to fulfill their wager, also probably need a new model for predictions?

Related commands should be separate Django apps

To avoid cluttering the main bot.py file, command groups should be moved to their own Django apps. For example, all the commands around making predictions would be their own app. Not sure what number of commands leads to creating a new app. I.e. should the !show_score command be it's own app? Or should it be lumped in with the !register_score and any other new score related commands?

Where to store images?

Images need to be stored in messages sometimes - need to store them somewhere. Should they be uploaded to a CDN? Or Is hosting on camerongraybill.dev sufficient?

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.