forked from Supositware/Haha-Yes
disalbe auto response for the moment
This commit is contained in:
parent
eecc6ebbe5
commit
197478b90f
1 changed files with 6 additions and 6 deletions
12
index.js
12
index.js
|
@ -64,12 +64,12 @@ client.registry
|
|||
})
|
||||
|
||||
// Auto respond to messages
|
||||
client.on("message", (message) => {
|
||||
let message_content = message.content.toLowerCase();
|
||||
if(responseObject[message_content]) {
|
||||
message.channel.send(responseObject[message_content]);
|
||||
}
|
||||
});
|
||||
// client.on("message", (message) => {
|
||||
// let message_content = message.content.toLowerCase();
|
||||
// if(responseObject[message_content]) {
|
||||
// message.channel.send(responseObject[message_content]);
|
||||
// }
|
||||
// });
|
||||
|
||||
client.on('error', console.error);
|
||||
|
||||
|
|
Loading…
Reference in a new issue