Added message to adminonly commands
This commit is contained in:
parent
ba65a90f6f
commit
03daf6a006
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ def sieve_suite(bot, input, func, kind, args):
|
|||
admins = bot.config.get('admins', [])
|
||||
|
||||
if input.mask not in admins and input.nick not in admins:
|
||||
input.notice("Sorry, you are not allowed to use this command.")
|
||||
return None
|
||||
|
||||
return input
|
Reference in a new issue