spark-c / SparksieBOT

A Discord bot that provides upkeep, utility, and some fun commands for my personal discord server.
1 stars 0 forks source link

Listkeeper: On successful commands/transactions, bot should REACT to message instead of replying. #6

Closed spark-c closed 3 years ago

spark-c commented 3 years ago

When working with the Listkeeper cog, text channels get cluttered and spammy very quickly. In order to cut down on this slightly, bot should add 👍 reactions to successful command executions instead of sending a reply to the text channel. Not only will this reduce notifications in text channels, it will be much easier for users to look back and read what commands were executed.

All changes will take place in cogs/Listkeeper.py, usually toward the end of functions. I'm not exactly sure how to add reactions at this moment, but it's likely to be something vaguely along the lines of

- await ctx.channel.send("Successfully added note 'This is a test item for a list!'!")
+ await ctx.message.add_reaction(":thumbsup:")
spark-c commented 3 years ago

Implemented: await ctx.message.add_reaction('\N{THUMBS UP SIGN}')