From 7d1221c78313563bd780c33a57ea3d0eb7856051 Mon Sep 17 00:00:00 2001 From: Matthias Nadler Date: Tue, 2 Jul 2019 17:55:49 +0200 Subject: [PATCH] add check for add reaction permission to @debug command --- cogs/help.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cogs/help.py b/cogs/help.py index 780b0d0..9c82c98 100644 --- a/cogs/help.py +++ b/cogs/help.py @@ -329,6 +329,13 @@ class Help(commands.Cog): status_msg += '❗ Deleting messages and reactions. I need the manage messages permission!\n' setup_correct = False + # check adding reactions + if permissions.add_reactions: + status_msg += '✅ Adding reactions\n' + else: + status_msg += '❗ Adding reactions. I need the add reactions permission!\n' + setup_correct = False + if setup_correct: status_msg += 'No action required. Your permissions are set up correctly for this channel. \n' \ 'If the bot does not work, feel free to join the support discord server.'