mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
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