modified: src/trigger/umode.js
This commit is contained in:
parent
8a3e6a074d
commit
4ba72dcb1e
|
@ -7,7 +7,7 @@ module.exports = (bot, trigger, lib) => {
|
||||||
func: (e) => {
|
func: (e) => {
|
||||||
var modes = e.message.split(' ');
|
var modes = e.message.split(' ');
|
||||||
var user = modes[modes.length - 1];
|
var user = modes[modes.length - 1];
|
||||||
if(user.toLowerCase() != 'f0ck') {
|
if(user.toLowerCase() != bot.me.nick.toLowerCase()) {
|
||||||
if(user.match(/(\+|-)/))
|
if(user.match(/(\+|-)/))
|
||||||
user = e.user.getNick();
|
user = e.user.getNick();
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user