strip_after_prefix=True

This commit is contained in:
AF 2024-05-16 23:35:43 +00:00
parent fbfb95ef43
commit 9c833249f3
Signed by: alisa
SSH Key Fingerprint: SHA256:vNY4pdIZvO1FYJKHROkdHLtvyopizvZVAEwg9AF6h04
2 changed files with 2 additions and 0 deletions

View File

@ -6,5 +6,6 @@ class NightlyBot(commands.Bot):
def __init__(self) -> None:
super().__init__(
command_prefix="🌟",
strip_after_prefix=True,
intents=discord.Intents(message_content=True, guild_messages=True, guild_reactions=True, guilds=True),
)

View File

@ -102,6 +102,7 @@ class StarBot(commands.Bot):
def __init__(self, state: StarState) -> None:
super().__init__(
command_prefix="",
strip_after_prefix=True,
intents=discord.Intents(message_content=True, guild_messages=True, guild_reactions=True, guilds=True),
)
self.starstate: StarState = state