Error handling for waifu commands

pull/8/head
sgoudham 4 years ago
parent ed031d689c
commit 8c58ae2286

@ -216,6 +216,7 @@ class Anime(Cog):
await menu.start(ctx) await menu.start(ctx)
@waifu.command(name="daily") @waifu.command(name="daily")
@bot_has_permissions(embed_links=True)
async def daily_waifu(self, ctx): async def daily_waifu(self, ctx):
"""Returns the Daily Waifu from MyWaifuList""" """Returns the Daily Waifu from MyWaifuList"""
@ -236,6 +237,7 @@ class Anime(Cog):
await ctx.send(embed=single_waifu_generator(self, waifu)) await ctx.send(embed=single_waifu_generator(self, waifu))
@waifu.command(name="random", aliases=["rnd"]) @waifu.command(name="random", aliases=["rnd"])
@bot_has_permissions(embed_links=True)
async def random_waifu(self, ctx): async def random_waifu(self, ctx):
"""Returning a Random Waifu from MyWaifuList""" """Returning a Random Waifu from MyWaifuList"""

Loading…
Cancel
Save