fix gay spam
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
This commit is contained in:
parent
421fece6be
commit
e8a03c0059
1 changed files with 3 additions and 2 deletions
|
@ -17,12 +17,13 @@ class MeterCog(commands.Cog):
|
|||
"""Checks how gay someone is"""
|
||||
user = user or ctx.user
|
||||
|
||||
await ctx.respond("Calculating...")
|
||||
for i in range(0, 125, 25):
|
||||
await ctx.respond("Calculating... %d%%" % i)
|
||||
await ctx.edit(content="Calculating... %d%%" % i)
|
||||
await asyncio.sleep(random.randint(1, 30) / 10)
|
||||
|
||||
pct = user.id % 100
|
||||
await ctx.respond(f"{user.mention} is {pct}% gay.")
|
||||
await ctx.edit(content=f"{user.mention} is {pct}% gay.")
|
||||
|
||||
@commands.slash_command(name="penis-length")
|
||||
async def penis_meter(self, ctx: discord.ApplicationContext, user: discord.User = None):
|
||||
|
|
Loading…
Reference in a new issue