feat(commands/bot): add help command and fix nested reloading

This commit is contained in:
2024-12-30 16:21:15 -05:00
parent d0402a58e9
commit e4af64fa99
6 changed files with 41 additions and 38 deletions

View File

@@ -6,6 +6,15 @@ import utils
from state import start_time
async def help(message):
await utils.reply(
message,
", ".join(
[f"`{command.value}`" for command in commands.Command.__members__.values()]
),
)
async def uptime(message):
tokens = commands.tokenize(message.content)
parser = arguments.ArgumentParser(