Move database migration, removed guild modified times, added XM plugin to lavalink config
This commit is contained in:
parent
4ef2ce7526
commit
bc9eb12b5a
6 changed files with 59 additions and 62 deletions
|
@ -100,7 +100,6 @@ export default async (client, cluster, worker, ipc, message) => {
|
|||
try {
|
||||
await database.addCount(aliases.get(command) ?? command);
|
||||
const startTime = new Date();
|
||||
if (message.channel.guild) await database.updateTime(startTime, message.channel.guild.id);
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const commandClass = new cmd(client, cluster, worker, ipc, message, parsed._, message.content.substring(prefix.length).trim().replace(command, "").trim(), (({ _, ...o }) => o)(parsed)); // we also provide the message content as a parameter for cases where we need more accuracy
|
||||
const result = await commandClass.run();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue