From ee057bc45ab264bd5b8e7d6ce631a849bb96e39c Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Tue, 15 Oct 2013 15:02:37 +1300 Subject: [PATCH] Added third default permissions group: trusted --- config.default | 5 ++++- plugins/dice.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config.default b/config.default index 13198e8..5b7e0a2 100644 --- a/config.default +++ b/config.default @@ -13,7 +13,6 @@ "user": "cloudbot", "real_name": "CloudBot - http://git.io/cloudbotirc", "channels": ["#cloudbot", "#cloudbot2"], - "disabled_plugins": [], "disabled_commands": [], "acls": {}, "nickserv": { @@ -28,6 +27,10 @@ "moderators": { "perms": ["addfactoid", "delfactoid", "ignore"], "users": ["examplec!user@example.com"] + }, + "trusted": { + "perms": ["addfactoid", "delfactoid"], + "users": ["exampled!user@example.com"] } }, "plugins": { diff --git a/plugins/dice.py b/plugins/dice.py index 94e0f46..23e747b 100755 --- a/plugins/dice.py +++ b/plugins/dice.py @@ -1,5 +1,6 @@ # Written by Scaevolus, updated by Lukeroge + import re import random