made command case insensitive
This commit is contained in:
parent
a590d28ab6
commit
b95d82b5be
@ -50,7 +50,7 @@ class WelcomeCog(commands.Cog):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.message = ''
|
||||
|
||||
@commands.command(name='welcomePreview', case_insensitive=False, description='Shows a preview of the welcome message')
|
||||
@commands.command(name='welcomePreview', case_insensitive=True, description='Shows a preview of the welcome message')
|
||||
async def preview(self, ctx):
|
||||
try:
|
||||
if ctx.guild.id not in allowed_guilds:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user