Add a help mesage for restrictions
This commit is contained in:
parent
393dc9d6a7
commit
8f078ea0ce
|
@ -18,6 +18,10 @@ class Administration:
|
||||||
@utils.custom_perms(kick_members=True)
|
@utils.custom_perms(kick_members=True)
|
||||||
@utils.check_restricted()
|
@utils.check_restricted()
|
||||||
async def restrictions(self, ctx):
|
async def restrictions(self, ctx):
|
||||||
|
"""Used to list all the current restrictions set
|
||||||
|
|
||||||
|
EXAMPLE: !restrictions
|
||||||
|
RESULT: All the current restrictions"""
|
||||||
# Get the restrictions
|
# Get the restrictions
|
||||||
restrictions = self.bot.db.load('server_settings', key=ctx.message.guild.id, pluck='restrictions') or {}
|
restrictions = self.bot.db.load('server_settings', key=ctx.message.guild.id, pluck='restrictions') or {}
|
||||||
entries = []
|
entries = []
|
||||||
|
|
Loading…
Reference in a new issue