mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 14:43:05 -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,6 +1,7 @@
|
|||
const { OPEN_SOURCE_REPOSITORY_URL, PERMISSION_GROUPS } = require('#constants');
|
||||
|
||||
const { createEmbed } = require('#utils/embed');
|
||||
const { acknowledge } = require('#utils/interactions');
|
||||
const { highlight, iconPill, iconLinkPill } = require('#utils/markdown');
|
||||
const { editOrReply } = require('#utils/message');
|
||||
|
||||
|
@ -33,7 +34,8 @@ module.exports = {
|
|||
},
|
||||
permissionsClient: [...PERMISSION_GROUPS.baseline],
|
||||
run: async (context) => {
|
||||
context.triggerTyping();
|
||||
await acknowledge(context);
|
||||
|
||||
try{
|
||||
if(context.manager){
|
||||
const globalStats = await context.manager.broadcastEval((cluster) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue