diff options
| author | 2021-05-10 09:30:46 -0400 | |
|---|---|---|
| committer | 2021-05-10 09:30:46 -0400 | |
| commit | 52aa6dcd499fc3e757a226c1192755888a6d88ef (patch) | |
| tree | cdc69a9a5804e8b590a82055b2b500d8c09016a3 /bot/exts/halloween/monsterbio.py | |
| parent | chore: 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.py | 2 |
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) |