From 36fbf628582c1b2b50502e9457ce5f8f37caaca0 Mon Sep 17 00:00:00 2001 From: eip <36315290+eip618@users.noreply.github.com> Date: Tue, 18 Jul 2023 09:12:26 +1000 Subject: [PATCH] doctor, will this work? (2) Update memes.py is != is not maybe swapping the order will help a step in the right direction is this what it wants? apparently, indents matter doctor, will this work? i have no idea! eip and the whitespace saga (98) eip and the whitespace saga (97) --- cogs/memes.py | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/cogs/memes.py b/cogs/memes.py index 8145e81e8..1d6e6507f 100644 --- a/cogs/memes.py +++ b/cogs/memes.py @@ -519,17 +519,13 @@ async def themoreyouknow(self, ctx: KurisuContext): @commands.command(hidden=True) @commands.cooldown(rate=1, per=300.0, type=commands.BucketType.default) - async def cadealert(self, ctx: KurisuContext): - """stop! cade time.""" - await self._meme(ctx, "excuse me <@&575940388452433940>, it is time for cade", - allowed_mentions=discord.AllowedMentions(roles=True)) - - @commands.command(hidden=True) - @commands.cooldown(rate=1, per=300.0, type=commands.BucketType.channel) - async def birbalert(self, ctx: KurisuContext): - """stop! birb time.""" - await self._meme(ctx, "excuse me <@&805294876673572884>, it is time for birb", - allowed_mentions=discord.AllowedMentions(roles=True)) + async def animalalert(self, ctx: KurisuContext): + """stop! animal time.""" + if ctx.channel.id != 1130632654857973861: + await ctx.send("💢 You can't do this here.") + else: + await self._meme(ctx, "excuse me <@&575940388452433940>, it is time for animal", + allowed_mentions=discord.AllowedMentions(roles=True)) @is_staff("OP") @commands.guild_only()