Minehut / Meta

Report bugs or issues and request features and updates for Minehut
31 stars 21 forks source link

Replace Countr with a more robust solution #958

Open honkling opened 2 years ago

honkling commented 2 years ago

Feature request

Checklist

Platform Discord

Describe the feature Replace Countr with a more robust solution provided by the Minehut bot. Currently, Countr often breaks, and the channel has to be locked. Countr just isn't scalable currently. As of writing this issue, #count-to-1mil has been locked for two days straight.

How the feature is useful Allows people to consistently use the channel without having to run into issues with Countr. It also benefits administration because the bot doesn't have to be reconfigured everytime an issue occurs.


Use 👍 and 👎 reactions to indicate you agree or disagree with this suggestion! Feel free to discuss the idea in the comments.

tarna commented 2 years ago

If this were to happen, wouldn't the leaderboard have to reset or just not exist anymore since you can't transfer data from countr to a different db.

Also, most of the time when it's locked for a long period of time, it's just when the mods forgot they locked it since they can still talk in locked channels and forget to unlock it again.

honkling commented 2 years ago

You don't need to transfer data automatically, it can be done manually. Just create a new collection / whatever in the MongoDB and then go into Atlas and manually set the value to whatever's in #count-to-1mil

tarna commented 2 years ago

Ya ik about that but I was mainly talking about the leaderboard data. Unless there is a system where when the countr bot is online and you do c!top, it will automatically get your total from the embed it sends and update it in Minehut's db.

honkling commented 2 years ago

It looks like Countr has a command to export all data. https://docs.countr.xyz/#/commands?id=cexportscores

tarna commented 2 years ago

Oh, that's cool. Then ya wouldn't be hard to do and would be helpful to not rely on an external bot that isn't up a lot. Would just have to wait till bot deploying gets fixed for any new things to be added tho.

honkling commented 2 years ago

Yeah, unfortunately

BennyDoesStuff commented 2 years ago

Any other bots we could consider, or does a solution need to be built out on our bot?