Disable system checking for various commands

This commit is contained in:
Ske
2018-07-27 07:29:10 +02:00
parent 2806feb7dc
commit 14f8eb9d66
4 changed files with 5 additions and 5 deletions

View File

@@ -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"]