feat: (description) move invite to make all general commands ep and more

Moved the invite command from general to owner cogs and updated help command category mapping accordingly. Improved ephemeral response handling in botinfo, ping, and serverinfo commands. Enhanced help command to avoid duplicate command listings and include application commands. Cleaned up serverinfo code and added guild-only enforcement.
This commit is contained in:
neoarz
2025-09-15 13:50:24 -04:00
parent d817223bbd
commit 26c28fcc7a
6 changed files with 52 additions and 30 deletions

View File

@@ -31,7 +31,10 @@ class Ping(commands.Cog, name="ping"):
color=0xBEBEFE,
)
embed.set_author(name="Ping", icon_url="https://yes.nighty.works/raw/y5SEZ9.webp")
await context.send(embed=embed)
if getattr(context, "interaction", None):
await context.interaction.response.send_message(embed=embed, ephemeral=True)
else:
await context.send(embed=embed)
async def setup(bot) -> None: