Move database migration, removed guild modified times, added XM plugin to lavalink config

This commit is contained in:
Essem 2022-02-21 18:55:25 -06:00
parent 4ef2ce7526
commit bc9eb12b5a
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
6 changed files with 59 additions and 62 deletions

View file

@ -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();