mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -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,4 +1,5 @@
|
|||
const { prideborder } = require("#api");
|
||||
const { acknowledge } = require("#utils/interactions");
|
||||
|
||||
const { editOrReply } = require("#utils/message");
|
||||
|
||||
|
@ -15,7 +16,8 @@ module.exports = {
|
|||
onBefore: context => context.user.isClientOwner,
|
||||
onCancel: ()=>{},
|
||||
run: async (context, args) => {
|
||||
await context.triggerTyping();
|
||||
await acknowledge(context);
|
||||
|
||||
const a = await prideborder(context, "https://cdn.discordapp.com/emojis/1145727546747535412.png?size=4096")
|
||||
editOrReply(context, "ok");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue