feat(owner): make owner commands be avaliable in dms

This commit is contained in:
neoarz
2025-09-22 10:22:06 -04:00
parent deef9156fa
commit 84d3e5df33
6 changed files with 24 additions and 2 deletions

View File

@@ -30,6 +30,8 @@ class Help(commands.Cog, name="help"):
@commands.hybrid_command(
name="help", description="List all commands the bot has loaded."
)
@app_commands.allowed_contexts(guilds=True, dms=True, private_channels=True)
@app_commands.allowed_installs(guilds=True, users=True)
@app_commands.describe(category="Choose a specific category to view its commands")
@app_commands.autocomplete(category=category_autocomplete)
async def help(self, context: Context, category: str = None) -> None: