changed to lower case

This commit is contained in:
Fadi Atamny 2020-04-26 01:56:51 +03:00
parent b95d82b5be
commit 42a7925846

View File

@ -50,8 +50,8 @@ class WelcomeCog(commands.Cog):
super().__init__(*args, **kwargs)
self.message = ''
@commands.command(name='welcomePreview', case_insensitive=True, description='Shows a preview of the welcome message')
async def preview(self, ctx):
@commands.command(name='welcomepreview', case_insensitive=True, description='Shows a preview of the welcome message')
async def previewMessage(self, ctx):
try:
if ctx.guild.id not in allowed_guilds:
return