fixing the memegen function to return the help method if you just run !meme
This commit is contained in:
parent
8518256c42
commit
53117b5bcb
@ -128,11 +128,14 @@ class Cheeky(commands.Cog):
|
||||
import meme_gen
|
||||
|
||||
await ctx.message.delete()
|
||||
try:
|
||||
await ctx.send(
|
||||
embed=core_utils.generate_embed(
|
||||
embed_url=meme_gen.parse_message(ctx.message.content)
|
||||
)
|
||||
)
|
||||
except discord.errors.HTTPException:
|
||||
await ctx.send(meme_gen.get_meme_help())
|
||||
|
||||
@commands.command(name="define", aliases=["ud"])
|
||||
async def define(self, ctx: commands.Context):
|
||||
|
Loading…
x
Reference in New Issue
Block a user