How did i fucking miss this

This commit is contained in:
loicbersier 2020-11-22 15:03:41 +01:00
parent 2f3ff092c2
commit 986d0b7fb4

View file

@ -46,7 +46,7 @@ class tweetCommand extends Command {
const blacklist = await TwitterBlacklist.findOne({where: {userID:message.author.id}}); const blacklist = await TwitterBlacklist.findOne({where: {userID:message.author.id}});
if (blacklist) { if (blacklist) {
return message.channel.send(`You have been blacklisted for the following reasons: \`\`${blacklist.get('reason')}\`\` be less naughty less time.`); return message.channel.send(`You have been blacklisted for the following reasons: \`\`${blacklist.get('reason')}\`\` be less naughty next time.`);
} }
// Don't let account new account use this command to prevent spam // Don't let account new account use this command to prevent spam
if (message.author.createdAt > date.setDate(date.getDate() - 7)) { if (message.author.createdAt > date.setDate(date.getDate() - 7)) {