Actually nvm it was discord fault

This commit is contained in:
loicbersier 2020-03-05 22:55:54 +01:00
parent d64285b3df
commit c4f4a2a995

View file

@ -237,7 +237,6 @@ class messageListener extends Listener {
* This section will contain the code for the quotation feature, it will detect link for it and send it as embed * This section will contain the code for the quotation feature, it will detect link for it and send it as embed
* *
*/ */
/*
const quotationstat = await quotationStat.findOne({where: {serverID: message.guild.id, stat: 'enable'}}); const quotationstat = await quotationStat.findOne({where: {serverID: message.guild.id, stat: 'enable'}});
if (quotationstat && message.content.includes('discordapp.com/channels/')) { if (quotationstat && message.content.includes('discordapp.com/channels/')) {
@ -276,8 +275,6 @@ class messageListener extends Listener {
message.delete(); message.delete();
}); });
} }
*/
} }
} }
} }