forked from Supositware/Haha-Yes
Arrenged it a little
This commit is contained in:
parent
acf2aca52d
commit
9dee4389c4
1 changed files with 3 additions and 4 deletions
|
@ -15,11 +15,10 @@ class messageListener extends Listener {
|
||||||
}
|
}
|
||||||
|
|
||||||
async exec(message) {
|
async exec(message) {
|
||||||
|
if (message.author.bot) return; {
|
||||||
let autoresponse = reload('../../json/autoresponse.json');
|
let autoresponse = reload('../../json/autoresponse.json');
|
||||||
let message_content = message.content.toLowerCase();
|
let message_content = message.content.toLowerCase();
|
||||||
|
|
||||||
if (message.author.bot) return; {
|
|
||||||
|
|
||||||
// If autoresponse is enable send the response
|
// If autoresponse is enable send the response
|
||||||
if(autoresponse[message.channel.id] == 'enable') {
|
if(autoresponse[message.channel.id] == 'enable') {
|
||||||
// Reply with images as attachement
|
// Reply with images as attachement
|
||||||
|
|
Loading…
Reference in a new issue