mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 21:53:07 -04:00
unify typing logic for a more consistent experience
This commit is contained in:
parent
d2aeecf70d
commit
1ca74d3c2c
67 changed files with 240 additions and 109 deletions
|
@ -1,3 +1,4 @@
|
|||
const { acknowledge } = require("#utils/interactions");
|
||||
const { codeblock } = require("#utils/markdown");
|
||||
const { editOrReply } = require("#utils/message");
|
||||
|
||||
|
@ -14,7 +15,8 @@ module.exports = {
|
|||
onBefore: context => context.user.isClientOwner,
|
||||
onCancel: ()=>{},
|
||||
run: async (context) => {
|
||||
await context.triggerTyping();
|
||||
await acknowledge(context);
|
||||
|
||||
const time = Date.now();
|
||||
console.log(`[${process.env.HOSTNAME}] refreshing all commands @ ${Date.now()} by ${context.user.username}${context.user.discriminator} (${context.user.id})`)
|
||||
let data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue