Merge pull request #13 from Kanium/feature/previewMessage

Welcome message preview
This commit is contained in:
Fadi Atamny 2020-04-26 01:38:00 +03:00 committed by GitHub
commit 5731385379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ class WelcomeCog(commands.Cog):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
self.message = '' 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): async def preview(self, ctx):
try: try:
if ctx.guild.id not in allowed_guilds: if ctx.guild.id not in allowed_guilds: