From 35da3d002719cf49c6c11e812bad9fec6f5912c5 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 21 Jul 2020 04:37:24 +0100 Subject: [PATCH] Making cog name capital Hiding cog --- cogs/modmail/modmail.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/modmail/modmail.py b/cogs/modmail/modmail.py index d6928057..ef6c362e 100644 --- a/cogs/modmail/modmail.py +++ b/cogs/modmail/modmail.py @@ -142,7 +142,7 @@ def SendMsgToModMail(self, msg, author): # Set up the Cog -class modmail(commands.Cog): +class Modmail(commands.Cog, command_attrs=dict(hidden=True)): def __init__(self, bot): self.bot = bot self.anon = None @@ -369,4 +369,4 @@ class modmail(commands.Cog): def setup(bot): - bot.add_cog(modmail(bot)) + bot.add_cog(Modmail(bot))