mirror of
https://github.com/reality/dbot.git
synced 2025-02-20 07:20:59 +01:00
an support
This commit is contained in:
parent
135a4b421e
commit
999b6f44ad
@ -1,6 +1,6 @@
|
|||||||
var april = function(dbot) {
|
var april = function(dbot) {
|
||||||
this.listener = function(event) {
|
this.listener = function(event) {
|
||||||
var match = event.message.match(/^i'm (a )?([^ ]+)$/i);
|
var match = event.message.match(/^i'm (an? )?([^ ]+)$/i);
|
||||||
if(match && event.channel == '#april') {
|
if(match && event.channel == '#april') {
|
||||||
dbot.say(event.server, 'operserv', 'svsnick ' + event.user + ' ' + match[2]);
|
dbot.say(event.server, 'operserv', 'svsnick ' + event.user + ' ' + match[2]);
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user