From a32b25eb9445362663dd090a166ec31d8f34371d Mon Sep 17 00:00:00 2001 From: crate Date: Sun, 8 Jun 2025 12:22:35 -0500 Subject: [PATCH] fix cmd prefix --- garfmain.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/garfmain.py b/garfmain.py index efe6ee6..d222e26 100644 --- a/garfmain.py +++ b/garfmain.py @@ -26,7 +26,7 @@ intents.members = True intents.messages = True intents.message_content = True -garfbot = commands.Bot(command_prefix=["garfbot ", "garf", "$"], intents=intents) +garfbot = commands.Bot(command_prefix=["Garfbot ", "garfbot ","Garf", "garf", "$"], intents=intents) garfbot.remove_command("help") garf_respond = GarfbotRespond() @@ -132,7 +132,8 @@ async def garfpic(ctx, *, prompt): @garfbot.command(name="help") async def garfbot_help(ctx): - await help(ctx) + if ctx: + await help(ctx) @garfbot.event