2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-31 06:26:04 +00:00

add a command prefix helper to loader

This commit is contained in:
Nick80835
2020-06-23 15:28:09 -04:00
parent e8aad3bb44
commit b654e18605
6 changed files with 11 additions and 7 deletions

View File

@@ -62,7 +62,7 @@ async def nsfw_toggle(event):
else:
current_config = 'Off'
await event.reply(f"Syntax: {ldr.settings.get_config('cmd_prefix') or '.'}nsfw (on|off)\nCurrent config for this chat: {current_config}")
await event.reply(f"Syntax: {ldr.prefix()}nsfw (on|off)\nCurrent config for this chat: {current_config}")
return
if event.args == "on":