fix cmd prefix
All checks were successful
Garfbot CI/CD Deployment / Deploy (push) Successful in 15s
All checks were successful
Garfbot CI/CD Deployment / Deploy (push) Successful in 15s
This commit is contained in:
@ -26,7 +26,7 @@ intents.members = True
|
|||||||
intents.messages = True
|
intents.messages = True
|
||||||
intents.message_content = 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")
|
garfbot.remove_command("help")
|
||||||
|
|
||||||
garf_respond = GarfbotRespond()
|
garf_respond = GarfbotRespond()
|
||||||
@ -132,6 +132,7 @@ async def garfpic(ctx, *, prompt):
|
|||||||
|
|
||||||
@garfbot.command(name="help")
|
@garfbot.command(name="help")
|
||||||
async def garfbot_help(ctx):
|
async def garfbot_help(ctx):
|
||||||
|
if ctx:
|
||||||
await help(ctx)
|
await help(ctx)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user