Untitled
unknown
javascript
3 years ago
672 B
6
Indexable
if (reaction === /(🤬|😡|💩|😈|👿|👹|👺|😾|😠)/ig){
if (senderID === botID1){
bans += userID + " "
api.getUserInfo(userID, (err, data) => {
api.sendMessage(`Using commands has turned off to ${data[userID]['name']}\nReason: reacting ${reaction}`, event.threadID, event.messageID)
for(let i = 0; i < justine.length; i++){
if(justine[i] != event.threadID){
api.sendMessage(`Commands off to ${data[userID]['name']}\nReacted ${reaction}`, justine[i])
}
}
})
}
}Editor is loading...