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
|
@ -2,6 +2,7 @@ const { paginator } = require("#client");
|
|||
const { COLORS, PERMISSION_GROUPS } = require("#constants");
|
||||
|
||||
const { createEmbed, page, formatPaginationEmbeds } = require("#utils/embed");
|
||||
const { acknowledge } = require("#utils/interactions");
|
||||
const { codeblock, pill, smallIconPill } = require("#utils/markdown");
|
||||
const { editOrReply } = require("#utils/message");
|
||||
const { STATIC_ICONS } = require("#utils/statics");
|
||||
|
@ -23,7 +24,7 @@ module.exports = {
|
|||
},
|
||||
permissionsClient: [...PERMISSION_GROUPS.baseline],
|
||||
run: async (context, args) => {
|
||||
context.triggerTyping();
|
||||
await acknowledge(context);
|
||||
|
||||
let content = args.content
|
||||
if (context.message.messageReference) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue