diff --git a/src/pluralkit/bot/commands/import_commands.py b/src/pluralkit/bot/commands/import_commands.py index 250a0cda..dc95b7a2 100644 --- a/src/pluralkit/bot/commands/import_commands.py +++ b/src/pluralkit/bot/commands/import_commands.py @@ -9,7 +9,7 @@ from pluralkit.bot.commands import * logger = logging.getLogger("pluralkit.commands") -@command(cmd="import tupperware", description="Import data from Tupperware.") +@command(cmd="import tupperware", description="Import data from Tupperware.", system_required=False) async def import_tupperware(ctx: CommandContext, args: List[str]): tupperware_member = ctx.message.server.get_member("431544605209788416") or ctx.message.server.get_member("433916057053560832") diff --git a/src/pluralkit/bot/commands/message_commands.py b/src/pluralkit/bot/commands/message_commands.py index 3adb4bd6..cd0c7cc0 100644 --- a/src/pluralkit/bot/commands/message_commands.py +++ b/src/pluralkit/bot/commands/message_commands.py @@ -8,7 +8,7 @@ logger = logging.getLogger("pluralkit.commands") @command(cmd="message", usage="", description="Shows information about a proxied message. Requires the message ID.", - category="Message commands") + category="Message commands", system_required=False) async def message_info(ctx: CommandContext, args: List[str]): if len(args) == 0: raise InvalidCommandSyntax() diff --git a/src/pluralkit/bot/commands/misc_commands.py b/src/pluralkit/bot/commands/misc_commands.py index 82b356dd..053238db 100644 --- a/src/pluralkit/bot/commands/misc_commands.py +++ b/src/pluralkit/bot/commands/misc_commands.py @@ -11,7 +11,7 @@ from pluralkit.bot.commands import * logger = logging.getLogger("pluralkit.commands") -@command(cmd="help", usage="[system|member|proxy|switch|mod]", description="Shows help messages.") +@command(cmd="help", usage="[system|member|proxy|switch|mod]", description="Shows help messages.", system_required=False) async def show_help(ctx: CommandContext, args: List[str]): embed = utils.make_default_embed("") embed.title = "PluralKit Help" @@ -31,7 +31,7 @@ async def show_help(ctx: CommandContext, args: List[str]): return embed -@command(cmd="invite", description="Generates an invite link for this bot.") +@command(cmd="invite", description="Generates an invite link for this bot.", system_required=False) async def invite_link(ctx: CommandContext, args: List[str]): client_id = os.environ["CLIENT_ID"] diff --git a/src/pluralkit/bot/commands/mod_commands.py b/src/pluralkit/bot/commands/mod_commands.py index d2fc5c5d..10df6f14 100644 --- a/src/pluralkit/bot/commands/mod_commands.py +++ b/src/pluralkit/bot/commands/mod_commands.py @@ -6,7 +6,7 @@ from pluralkit.bot.commands import * logger = logging.getLogger("pluralkit.commands") -@command(cmd="mod log", usage="[channel]", description="Sets the bot to log events to a specified channel. Leave blank to disable.", category="Moderation commands") +@command(cmd="mod log", usage="[channel]", description="Sets the bot to log events to a specified channel. Leave blank to disable.", category="Moderation commands", system_required=False) async def set_log(ctx: CommandContext, args: List[str]): if not ctx.message.author.server_permissions.administrator: raise CommandError("You must be a server administrator to use this command.")