rewrite: Various bugfixes.

This commit is contained in:
2023-05-26 09:04:44 +03:00
parent 0f1c534ae2
commit eeff0f5042
8 changed files with 22 additions and 5 deletions

View File

@@ -20,7 +20,10 @@ class DashCog(LionCog):
async def cog_unload(self):
...
@cmds.hybrid_command(name="dashboard")
@cmds.hybrid_command(
name="dashboard",
description="At-a-glance view of the server's configuration."
)
@appcmds.guild_only
async def dashboard_cmd(self, ctx: LionContext):
ui = GuildDashboard(self.bot, ctx.guild, ctx.author.id, ctx.channel.id)