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) => {
|
||||
var modes = e.message.split(' ');
|
||||
var user = modes[modes.length - 1];
|
||||
if(user.toLowerCase() != 'f0ck') {
|
||||
if(user.toLowerCase() != bot.me.nick.toLowerCase()) {
|
||||
if(user.match(/(\+|-)/))
|
||||
user = e.user.getNick();
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user