Page 1 of 1

[Discord] Have System bot auto-remove !g results

Posted: Wed Apr 25, 2018 11:10 pm
by nvs
Right now when you use the `!g` command, the resulting games list remains forever. This pollutes both the channel it was used within as well as search results. Meaningful conversations and questions can get pushed aside, especially if multiple uses of the command occur in quick succession. Attempting to search for any keyword from the games list (e.g. ENT, DotA, Gem etc.) returns every result from using the `!g` command.

However, these results are not valid forever, and will eventually become stale. It might be best to have the bot automatically remove the messages after a set amount of time, perhaps 5 or 10 minutes or even sooner. Additionally, one could also remove the user's original `!g` command, to further clean things up. Further restriction of the command or its results to a specific channel could also work (although, that would only address channel pollution). Or perhaps returning the results to the user via a direct message instead of sending to channel.

Re: [Discord] Have System bot auto-remove !g results

Posted: Thu Apr 26, 2018 3:52 pm
by aRt)Y
Why not just whisper/dm the user (obv others wouldnt see it then but they dont use the gamelist.php to begin with so..)?

Re: [Discord] Have System bot auto-remove !g results

Posted: Thu Apr 26, 2018 9:44 pm
by nvs
Yeah, I like that idea as well. I mentioned it last, since it's a bigger shift from the current functionality.

Re: [Discord] Have System bot auto-remove !g results

Posted: Wed Jan 30, 2019 4:30 pm
by Merex
Don't see a need for this anymore as we've wc3connect which will provide the same purpose as our game list/current command.

Following that, it's rarely an issue if any. Should this become of any further concern in the future, it can be revisited.