fix weird behavior where bot would be typing forever after /cursed cmd
@@ -111,10 +111,10 @@ class Fun(commands.Cog):
@commands.command(name='cursed', aliases=['cursedmc'])
@commands.cooldown(1, 2, commands.BucketType.user)
async def cursed_mc(self, ctx):
- async with ctx.typing():
if random.choice((True, False,)):
jj = {'nsfw': True}
+ async with ctx.typing():
while jj['nsfw']:
resp = await self.ses.get(
'https://api.iapetus11.xyz/reddit/gimme/CursedMinecraft',
