mojira / mojira-discord-bot

🎮 A Discord bot for linking to and providing information about Mojira tickets
https://discord.gg/rpCyfKV
GNU General Public License v3.0
19 stars 9 forks source link

Rename pending request channels with amount of pending requests #68

Open violine1101 opened 4 years ago

violine1101 commented 4 years ago

It would be great if the pending request channels would be renamed so that the amount of unresolved requests is immediately visible without the need to visit the channel. (e.g. #20-java-pending-requests)

This may be a bit difficult to realize, not only because the bot needs to know how many unresolved requests there are left (which means it also needs to track message deletions etc.) but also because there's a rate limit on how often discord bots can edit channel titles. I'm not entirely sure as for what the exact rate limits are, but they exist (the Minecraft commands discord has had trouble with the channel renaming rate limit, but they also use it very extensively).

violine1101 commented 4 years ago

To clarify, I'm talking about our internal channels here that aren't visible to the public. The reactions in the public channel don't really have much to do with this, and keeping track of unsolved requests that way would probably be very inefficient.

But thinking about it, we know how many messages there are in the internal channels, so that value could probably be used.

violine1101 commented 3 years ago

Some considerations from #136: