From f9498302f450f33a8d2ff9d8776ea477ff818b40 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sun, 26 Jul 2020 08:22:50 +0100 Subject: [PATCH] Adding commentary --- settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/settings.py b/settings.py index 078e580c..d8202170 100644 --- a/settings.py +++ b/settings.py @@ -66,10 +66,12 @@ async def storage_modlog_for_guild(ctx, channelID, setup): with closing(connection.cursor()) as cur: # Execute the query cur.execute(update_query, update_vals) + + # Send custom confirmation messages to log based on the command update or setup if setup: print(cur.rowcount, f"Modlog channel for guild {ctx.guild.name} has been Setup") else: - print(cur.rowcount, f"Modlog channel for guild {ctx.guild.name} has been updated") + print(cur.rowcount, f"Modlog channel for guild {ctx.guild.name} has been Updated") if setup: # Send confirmation that modmail channel has been setup