Giter VIP home page Giter VIP logo

coindrop's People

Contributors

gorialis avatar lostluma avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mralext20 slice

coindrop's Issues

Feature Concept

Total coin drops that day/total on that server.
Why? Why not, a nice feature to have, interesting stat to have, and helps answer people who want to know how many coins that they missed that day/night/time they left the server for.

Make it so .commands that happen outside of #bot-commands don't trigger

People are running commands on #general and psyching people into spamming .pick because that makes the BlobCoin bot send a message.

My suggested proposal is that a check is added to all commands (other than .pick) that checks if the command is happening in the #bot-commands channel. If it is, then it will execute the command. If not, it will delete the message that triggered the command and possibly warn the user via DM or chat message that bot commands should be run in #bot-commands.

Make coin drops independent of message sending

People are spamming the chat just so the coin drops. That happens because the coin drop is determined on the on_message event.

My suggested proposal is that the coin dropping happen in a background task so that it doesn't depend on messages. Then it would look something like

while True:
    drop_coin()
    time_to_sleep = calculate_sleep_time_using_exponential_stuff()
    await asyncio.sleep(time_to_sleep)

New Feature / Method

Instead of just responding to a typed message which can be a disadvantage to slow typers or mobile users.
Have alternate ways of responding to the "A coin has dropped message".

I was thinking that this could perhaps be via a reaction which is much easier and quicker to do.
By this I mean the bot reacts to itself to get around the issue of having reactions blocked for non-role users.
This can then be evolved to slightly combat selfbots by having say 3 reactions and the message says which to choose.

2 ideas

  • Have an extended leader board, so instead of top 5, maybe a top 20 ish?
  • Each blob coin drop/place has an ID, and the id is given after the coin is taken
  • If you run a command like .lookup [id] you can see the top 3 fastest people who were the fastest

Just ideas /shrug

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.