Merge pull request #14 from Kanium/feature/previewMessage

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

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