diff options
-rw-r--r-- | bot/seasons/halloween/monsterbio.py (renamed from bot/seasons/halloween/monster.py) | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bot/seasons/halloween/monster.py b/bot/seasons/halloween/monsterbio.py index 5a735b69..d84498a8 100644 --- a/bot/seasons/halloween/monster.py +++ b/bot/seasons/halloween/monsterbio.py @@ -17,6 +17,9 @@ with open(Path("bot/resources/halloween/monster.json"), "r", encoding="utf8") as class MonsterBio(commands.Cog): """A cog that generates a spooky monster biography.""" + def __init__(self, bot: commands.Bot): + self.bot = bot + def generate_name(self, length: int) -> str: """Generates a name (for either monster species or monster name).""" return "".join([random.choice(TEXT_OPTIONS["monster_type"][i]) for i in range(length)]) |