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

Can you add a feature of deleting all the messages after game ended? #119

Open
alexonelifer opened this issue Aug 31, 2023 · 11 comments
Open

Comments

@alexonelifer
Copy link

It would be great if that was possible to happen! Thank you!

@DO97
Copy link

DO97 commented Dec 13, 2023

My two cents: it's useless. The reason is that this bot is not intended to be played in a group where you play with or chat about something else.

If all the messages gets deleted, then what happens to all the other messages in between? They stay there without a context? It doesn't seem nice.
And if all the messages gets deleted, then how do you exclude the ones that are not related to the game?

@hybridvamp
Copy link
Contributor

in my openion it is possible, lemme give it a try

@DO97
Copy link

DO97 commented Dec 30, 2023

in my openion it is possible, lemme give it a try

Absolutely possible, but how do you manage user messages? They stay there without a context? Or do you delete everything between the creation and the end of the game?

@hybridvamp
Copy link
Contributor

can save ids of valid game moves and after complition delete all of them

@DO97
Copy link

DO97 commented Dec 30, 2023

can save ids of valid game moves and after complition delete all of them

Two issues:

  1. Not all game messages are sent by bot.
  2. With that method, you're not able to delete messages related to the game.

@hybridvamp
Copy link
Contributor

hybridvamp commented Dec 30, 2023 via email

@hybridvamp
Copy link
Contributor

hybridvamp commented Dec 30, 2023 via email

@DO97
Copy link

DO97 commented Dec 30, 2023

Still, you should also consider commands and I don't find any reason to maintain messages without context in a group. What happens if I say "Damn, that hurts" in response to a +4 and after a minute or two no one understands why I sent that?

Create a group for it and the problem is solved.

@hybridvamp
Copy link
Contributor

Still, you should also consider commands and I don't find any reason to maintain messages without context in a group. What happens if I say "Damn, that hurts" in response to a +4 and after a minute or two no one understands why I sent that?

Create a group for it and the problem is solved.

or you can make a toggle for auto delete

@DO97
Copy link

DO97 commented Dec 31, 2023

Still, you should also consider commands and I don't find any reason to maintain messages without context in a group. What happens if I say "Damn, that hurts" in response to a +4 and after a minute or two no one understands why I sent that?
Create a group for it and the problem is solved.

or you can make a toggle for auto delete

For what? A detrimental feature that requires efforts for nothing?

@hybridvamp
Copy link
Contributor

Still, you should also consider commands and I don't find any reason to maintain messages without context in a group. What happens if I say "Damn, that hurts" in response to a +4 and after a minute or two no one understands why I sent that?
Create a group for it and the problem is solved.

or you can make a toggle for auto delete

For what? A detrimental feature that requires efforts for nothing?

Ii belive someone started this issue because of its need

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants