mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 02:41:06 -05:00
Proper use of hybrid_group for main command groups:
archiver: Main bot control commands settings: Configuration commands archivedb: Database management commands Consistent decorator order across all commands: @group.command() or @hybrid_group() @guild_only() @admin_or_permissions() (where needed) @app_commands.describe() (for parameters) Proper parameter descriptions using app_commands.describe for better slash command integration
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
"""Module for core archiver commands"""
|
||||
|
||||
import discord
|
||||
from redbot.core.commands import Context, hybrid_group, guild_only
|
||||
from redbot.core.utils.mod import admin_or_permissions
|
||||
from redbot.core.commands import Context, hybrid_group, guild_only, admin_or_permissions
|
||||
from discord import app_commands
|
||||
import logging
|
||||
from ..response_handler import handle_response
|
||||
|
||||
Reference in New Issue
Block a user