forked from GitHub/dbot
ye
This commit is contained in:
parent
3347b67cea
commit
e393fd6fdb
@ -1,6 +1,6 @@
|
||||
var april = function(dbot) {
|
||||
this.listener = function(event) {
|
||||
var match = event.message.match(/^i'?m (an? )?([^ ]+)$/i);
|
||||
var match = event.message.match(/^i'?( a)?m (an? )?([^ ]+)/i);
|
||||
if(match && event.channel == '#april') {
|
||||
dbot.say(event.server, 'operserv', 'svsnick ' + event.user + ' ' + match[2]);
|
||||
setTimeout(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user