Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete old, expired game invites #89

Open
Gocnak opened this issue Aug 26, 2020 · 2 comments
Open

Delete old, expired game invites #89

Gocnak opened this issue Aug 26, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@Gocnak
Copy link
Member

Gocnak commented Aug 26, 2020

People inviting others to play momentum have the lobby invite stick around as a permanent message, and the bot could automatically delete them as there's no way to "re-open" a closed invite that I know of.

By default delete old ones every 5 minutes? Could change this to every hour or something if the rate limits are bad.

@Hona
Copy link
Collaborator

Hona commented Aug 26, 2020

Is this fine to register on message received (99% guarentee, on disconnects the message might be missed)? Otherwise we could get 100% guarantee but have to download x messages from every channel.

It would be simpler logistics wise to download x (100, 200 even?) messages from every channel, but every 30 minutes or so instead of 5 mins.

@Hona Hona self-assigned this Aug 26, 2020
@Hona Hona added the enhancement New feature or request label Aug 26, 2020
@Gocnak
Copy link
Member Author

Gocnak commented Aug 26, 2020

We can do message received, because admins can always delete the stale messages that the bot didn't catch.

@Gocnak Gocnak unassigned Hona Sep 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants