Skip to content

Instantly share code, notes, and snippets.

@tt2468
Last active April 27, 2020 13:06
Show Gist options
  • Save tt2468/620dcc4d3f7dd03cf58881e29b6e37fb to your computer and use it in GitHub Desktop.
Save tt2468/620dcc4d3f7dd03cf58881e29b6e37fb to your computer and use it in GitHub Desktop.
Counting Poll

The problem:

Counting has grown a lot in the past, and with that growth, some fundamental problems have emerged. In order to allow counting to continue growing, we have been rewriting various parts of the bot. Unfortunately, in the process we have identified a few problems that would likely result in data loss.

The options:

Because of this problem, there are 2 possible options.

  • Proceed with slowly rewriting the bot, and in the process risk things like votes and counts being completely reset
  • Schedule a date to completely reset all data. This gives us the opportunity to do a complete rewrite and fix the fundamental problems with the bot, without worrying about preventing data loss

Our idea:

As for the devs, we support doing a full reset. With the current bot, ~75% of the time we spend rewriting the bot is put into trying to prevent as much data loss as possible. So, we support doing a full reset.

TLDR; No reset = Most stats kept, random stats lost - Reset = All stats reset, get everything over faster


We invite you to vote on these options

@oak-ra
Copy link

oak-ra commented Apr 25, 2020

I’m for resetting the bot 100%. The stats now are not legit. Some of the higher rooms have people go into other discord’s and purposely mess up the count game.

@sutterismine1
Copy link

oak-ra, that's terrible! Why would anybody wreck it for anybody else in a stupid (no offense devs) counting game?

@oak-ra
Copy link

oak-ra commented Apr 26, 2020

We had to put a minimum level lock on the room because of this.

@DZYTBots
Copy link

I’m in for doing a full restart. I feel like this would be easier for you guys rather than having to worry about possible data losses while the bot is active.

@Exr0n
Copy link

Exr0n commented Apr 26, 2020

I'd be sad about my (relatively bad but still have spent too much of my life on) stats, but I think a reset is a good idea. It would be cool if there you all could create a "token" for people's original stats, just so that people don't feel too bummed about loosing their stats. If its not too difficult, maybe create a gpg private key and sign each one tho verify validity? If that happened I would have no regrets about a full rewrite, and I'd be happy to help out with token creation too. Just ping or email me :)

Thanks for creating this great procrastination tool by the way, I speak for a number of my peers when I say that the bot, although simple and "stupid", has kept us sane at home. I'll support the decision either way.

@tt2468
Copy link
Author

tt2468 commented Apr 26, 2020

@Exr0n I mean we could always just release a database of useful (and sanitized) information, or make a page that lets you query it, or even a few bot commands. Not sure about using any kind of crypto, since we aren't exactly holding any important data lol

@Exr0n
Copy link

Exr0n commented Apr 27, 2020

@tt4268 the page or bot command sound great! As for the "crypto" signing, it's just a way of saying "this scorecard is legit" but it might be overkill.

@bekaertruben
Copy link

If you're going to reset all data, perhaps allow server moderators to set the current number, but when they use it don't allow their score on the leaderboard. This might allow people with a high score to continue but without it being competitive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment