Merge pull request #14 from Kanium/feature/previewMessage
Welcome message preview
This commit is contained in:
commit
4efcdad171
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user