skip passing prefix explicitly

This commit is contained in:
Infinidoge 2024-12-19 01:10:36 -05:00
parent 36e63c919e
commit 796d5aa763
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -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,