Fixed bug with !kick userlist button option
This commit is contained in:
parent
294f0292ab
commit
3ea702b96d
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ class userList{
|
||||||
|
|
||||||
if(user.user != "Tokebot" && user.user != this.client.user.user){
|
if(user.user != "Tokebot" && user.user != this.client.user.user){
|
||||||
if(this.client.user.permMap.chan.get("kickUser")){
|
if(this.client.user.permMap.chan.get("kickUser")){
|
||||||
menuMap.set("Kick", ()=>{this.client.chatBox.commandPreprocessor.preprocess(`!kick ${user.user}`)});
|
menuMap.set("Kick", ()=>{this.client.chatBox.transmit(`!kick ${user.user}`);});
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.client.user.permMap.chan.get("banUser")){
|
if(this.client.user.permMap.chan.get("banUser")){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue