aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/halloween/monsterbio.py
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-05-10 09:30:46 -0400
committerGravatar ToxicKidz <[email protected]>2021-05-10 09:30:46 -0400
commit52aa6dcd499fc3e757a226c1192755888a6d88ef (patch)
treecdc69a9a5804e8b590a82055b2b500d8c09016a3 /bot/exts/halloween/monsterbio.py
parentchore: Apply more suggested changes (diff)
chore: ctx.message.author -> ctx.author
Diffstat (limited to 'bot/exts/halloween/monsterbio.py')
-rw-r--r--bot/exts/halloween/monsterbio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/halloween/monsterbio.py b/bot/exts/halloween/monsterbio.py
index dbafa43f..1aaba7bb 100644
--- a/bot/exts/halloween/monsterbio.py
+++ b/bot/exts/halloween/monsterbio.py
@@ -26,7 +26,7 @@ class MonsterBio(commands.Cog):
@commands.command(brief="Sends your monster bio!")
async def monsterbio(self, ctx: commands.Context) -> None:
"""Sends a description of a monster."""
- seeded_random = random.Random(ctx.message.author.id) # Seed a local Random instance rather than the system one
+ seeded_random = random.Random(ctx.author.id) # Seed a local Random instance rather than the system one
name = self.generate_name(seeded_random)
species = self.generate_name(seeded_random)