[Discord] Have System bot auto-remove !g results
Posted: Wed Apr 25, 2018 11:10 pm
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.
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.