diff --git a/r0b3bot.py b/r0b3bot.py index 9bfefae..bcc3f84 100644 --- a/r0b3bot.py +++ b/r0b3bot.py @@ -83,7 +83,7 @@ async def holyshit(ctx): @bot.command() @commands.cooldown(rate=1, per=30.0, type=commands.BucketType.user) async def bitch(ctx, member : discord.Member="NONE"): - if ctx.channel.is_nsfw(): + if ctx.message.channel.is_nsfw(): ctx.send("U can't use that command!") else: await play_sound(ctx, member, "./sounds/monkey_bitch.mp3", "$bitch")