This commit is contained in:
Daniel Odendahl Jr
2017-05-05 12:34:59 +00:00
parent da92be33d1
commit 6eec8039cb
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -36,6 +36,7 @@ client.registry
.registerCommandsIn(path.join(__dirname, 'commands'));
client.dispatcher.addInhibitor(msg => {
if(msg.channel.type === 'dm') return false;
const role = msg.guild.settings.get('singleRole');
if(!role) return false;
if(client.isOwner(msg.author)) return false;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "18.1.0",
"version": "18.1.1",
"description": "A Discord Bot",
"main": "shardingmanager.js",
"scripts": {