Fix lazy copy paste to say prefix instead of slash

This commit is contained in:
Supositware 2024-02-04 01:40:07 +01:00
parent 2c25890f5b
commit bf9c87f3b8

View file

@ -303,7 +303,7 @@ export default {
const isOptOut = await db.optout.findOne({ where: { userID: message.author.id } }); const isOptOut = await db.optout.findOne({ where: { userID: message.author.id } });
const timestamp = new Date(); const timestamp = new Date();
console.log(`[${timestamp.toISOString()}] \x1b[33m${ isOptOut ? 'A user' : `${userTag} (${userID})`}\x1b[0m launched command \x1b[33m${commandName}\x1b[0m using slash`); console.log(`[${timestamp.toISOString()}] \x1b[33m${ isOptOut ? 'A user' : `${userTag} (${userID})`}\x1b[0m launched command \x1b[33m${commandName}\x1b[0m using prefix`);
// Owner only check // Owner only check