mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-22 23:15:29 +00:00
warm: care about the american few
This commit is contained in:
parent
93a5354761
commit
6a9a0cb57d
18
cogs/meme.py
18
cogs/meme.py
|
@ -17,18 +17,24 @@ class Meme:
|
|||
is_staff = any(r.id in config.staff_role_ids for r in ctx.author.roles)
|
||||
return (is_ot or is_staff)
|
||||
|
||||
@commands.check(check_if_staff_or_ot)
|
||||
@commands.command(hidden=True, name="bam")
|
||||
async def bam_member(self, ctx, user: discord.Member):
|
||||
"""Bams a user owo"""
|
||||
await ctx.send(f"{self.bot.escape_message(user)} is ̶n͢ow b̕&̡.̷ 👍̡")
|
||||
def c_to_f(self, c):
|
||||
"""this is where we take memes too far"""
|
||||
return 9.0 / 5.0 * c + 32
|
||||
|
||||
@commands.check(check_if_staff_or_ot)
|
||||
@commands.command(hidden=True, name="warm")
|
||||
async def warm_member(self, ctx, user: discord.Member):
|
||||
"""Warms a user :3"""
|
||||
celcius = random.randint(0, 100)
|
||||
fahrenheit = self.c_to_f(celcius)
|
||||
await ctx.send(f"{user.mention} warmed."
|
||||
f" User is now {random.randint(0, 100)}°C.")
|
||||
f" User is now {celcius}°C ({fahrenheit}°F).")
|
||||
|
||||
@commands.check(check_if_staff_or_ot)
|
||||
@commands.command(hidden=True, name="bam")
|
||||
async def bam_member(self, ctx, user: discord.Member):
|
||||
"""Bams a user owo"""
|
||||
await ctx.send(f"{self.bot.escape_message(user)} is ̶n͢ow b̕&̡.̷ 👍̡")
|
||||
|
||||
@commands.command(hidden=True)
|
||||
async def memebercount(self, ctx):
|
||||
|
|
Loading…
Reference in a new issue