feat: (description) botinfo, invite, ping

Botinfo now sends ephemeral responses for interactions. Invite command generates invite links dynamically using environment permissions and adds an author icon. Ping command embeds now include an author icon for consistency.
This commit is contained in:
neoarz
2025-09-15 09:00:02 -04:00
parent 5d893a8a84
commit ae5e828869
3 changed files with 17 additions and 4 deletions

View File

@@ -32,7 +32,10 @@ class BotInfo(commands.Cog, name="botinfo"):
value=f"/ (Slash Commands) or {self.bot.bot_prefix} for normal commands",
inline=False,
)
await context.send(embed=embed)
if context.interaction:
await context.interaction.response.send_message(embed=embed, ephemeral=True)
else:
await context.send(embed=embed)
async def setup(bot) -> None:
await bot.add_cog(BotInfo(bot))