changed to lower case
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user