Skip to content

Commit

Permalink
Freezeburn (#1235)
Browse files Browse the repository at this point in the history
* Freezeburn

* Freezeburn
  • Loading branch information
MarigoldZephyrNio committed Jun 30, 2024
1 parent 1140652 commit 7238919
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions cogs/memes.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,20 +374,36 @@ def c_to_k(c):
@commands.command(hidden=True)
async def warm(self, ctx: KurisuContext, u: discord.Member):
"""Warms a user :3"""
celsius = random.randint(38, 100)
celsius = random.randint(38, 50)
fahrenheit = self.c_to_f(celsius)
kelvin = self.c_to_k(celsius)
await self._meme(ctx, f"{u.mention} warmed. User is now {celsius}°C ({fahrenheit}°F, {kelvin}K).", True)

@commands.command(hidden=True)
async def burn(self, ctx: KurisuContext, u: discord.Member):
"""Burns a user :fire:"""
celsius = random.randint(51, 150)
fahrenheit = self.c_to_f(celsius)
kelvin = self.c_to_k(celsius)
await self._meme(ctx, f"{u.mention} burned. User is now a crispy {celsius}°C ({fahrenheit}°F, {kelvin}K).", True)

# adding it here because It's pretty much the same code
@commands.command(hidden=True, aliases=["cool"])
async def chill(self, ctx: KurisuContext, u: discord.Member):
"""Cools a user :3"""
celsius = random.randint(-273, 34)
celsius = random.randint(-40, 34)
fahrenheit = self.c_to_f(celsius)
kelvin = self.c_to_k(celsius)
await self._meme(ctx, f"{u.mention} cooled. User is now {celsius}°C ({fahrenheit}°F, {kelvin}K).", True)

@commands.command(hidden=True)
async def freeze(self, ctx: KurisuContext, u: discord.Member):
"""Freezes a user :3"""
celsius = random.randint(-273, -41)
fahrenheit = self.c_to_f(celsius)
kelvin = self.c_to_k(celsius)
await self._meme(ctx, f"{u.mention} frozen. User is now {celsius}°C ({fahrenheit}°F, {kelvin}K). Wait how is that possible?", True)

# End code from https://github.com/reswitched/robocop-ng

@commands.command(hidden=True)
Expand Down

0 comments on commit 7238919

Please sign in to comment.