mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
feat(stats): persist user and global track counts in mysql tables
This commit is contained in:
1 parent
70f124294d
commit
a780ec22c8
6 files changed
+170
-12
No files matched your search
@@ -67,7 +67,8 @@ export async function run(message, data) {
|
||||
return;
|
||||
}
|
||||
|
||||
const messages = p.playFirst(query, provider);
|
||||
const requester = message.author?.id ?? message.authorId ?? null;
|
||||
const messages = p.playFirst(query, provider, { requester });
|
||||
messages.on("message", d => {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(d);
|
||||
if (statusMsg) statusMsg.edit({ embeds: [embed] }).catch(() => {});
|
||||
|
||||
Reference in new issue
Block a user