|
|
|
@ -296,10 +296,10 @@ export default {
|
|
|
|
|
const isOptOut = await db.optout.findOne({ where: { userID: message.author.id } });
|
|
|
|
|
|
|
|
|
|
if (isOptOut) {
|
|
|
|
|
console.log(`A user launched command \x1b[33m${commandName}\x1b[0m with prefix`);
|
|
|
|
|
console.log(`A user launched command \x1b[33m${commandName}\x1b[0m using prefix`);
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
console.log(`\x1b[33m${userTag} (${userID})\x1b[0m launched command \x1b[33m${commandName}\x1b[0m with prefix`);
|
|
|
|
|
console.log(`\x1b[33m${userTag} (${userID})\x1b[0m launched command \x1b[33m${commandName}\x1b[0m using prefix`);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Owner only check
|
|
|
|
|