forked from GitHub/dbot
access control on the thingie whatsit
This commit is contained in:
parent
b0d41fb490
commit
4089fee13c
@ -195,6 +195,8 @@ var reddit = function(dbot) {
|
||||
};
|
||||
this.commands['~addredditfeed'].regex = [/^~addredditfeed ([^ ]+) ([^ ]+) ([^ ]+)$/, 4];
|
||||
this.commands['~rmredditfeed'].regex = [/^~rmredditfeed ([^ ]+) ([^ ]+)$/, 3];
|
||||
this.commands['~addredditfeed'].access = 'moderator';
|
||||
this.commands['~rmredditfeed'].access = 'moderator';
|
||||
|
||||
this.onLoad = function() {
|
||||
this.internalAPI.reloadChannelFeeds();
|
||||
|
Loading…
Reference in New Issue
Block a user