From 796d5aa763ec7bffe9214049f831da8ce5983432 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 19 Dec 2024 01:10:36 -0500 Subject: [PATCH] skip passing prefix explicitly --- nomen/main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nomen/main.py b/nomen/main.py index 1e327af..6962f10 100644 --- a/nomen/main.py +++ b/nomen/main.py @@ -47,9 +47,9 @@ async def get_prefix(the_bot, message: Message): class Nomen(Bot): - def __init__(self, prefix, description=None, **options): + def __init__(self, description=None, **options): super().__init__( - prefix, + get_prefix, description=description, command_sync_flags=options.get("sync_flags"), allowed_mentions=options.get("allowed_mentions"), @@ -86,7 +86,6 @@ class Nomen(Bot): bot = Nomen( - prefix=get_prefix, description="Keeper of Names", intents=Intents( guilds=True,