1
0
Fork 0
mirror of synced 2024-05-20 04:22:29 +12:00

Add a help mesage for restrictions

This commit is contained in:
phxntxm 2017-06-28 14:53:12 -05:00
parent 393dc9d6a7
commit 8f078ea0ce

View file

@ -18,6 +18,10 @@ class Administration:
@utils.custom_perms(kick_members=True)
@utils.check_restricted()
async def restrictions(self, ctx):
"""Used to list all the current restrictions set
EXAMPLE: !restrictions
RESULT: All the current restrictions"""
# Get the restrictions
restrictions = self.bot.db.load('server_settings', key=ctx.message.guild.id, pluck='restrictions') or {}
entries = []