disable auto reponse
This commit is contained in:
parent
8b639dcc02
commit
8357a1d72f
1 changed files with 5 additions and 5 deletions
10
index.js
10
index.js
|
@ -45,11 +45,11 @@ client.registry
|
|||
})
|
||||
|
||||
// Auto respond to messages
|
||||
client.on("message", (message) => {
|
||||
if(responseObject[message.content]) {
|
||||
message.channel.send(responseObject[message.content]);
|
||||
}
|
||||
});
|
||||
// client.on("message", (message) => {
|
||||
// if(responseObject[message.content]) {
|
||||
// message.channel.send(responseObject[message.content]);
|
||||
// }
|
||||
// });
|
||||
|
||||
client.on('error', console.error);
|
||||
|
||||
|
|
Loading…
Reference in a new issue