mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-17 02:17:05 -04:00
only use typing indicator where it makes sense
This commit is contained in:
parent
b297bd9f0e
commit
c54a29ad26
10 changed files with 3 additions and 14 deletions
|
@ -41,7 +41,6 @@ module.exports = {
|
|||
{name: 'type', default: 'twitter'}
|
||||
],
|
||||
run: async (context, args) => {
|
||||
await context.triggerTyping();
|
||||
const { matches } = Utils.regex(
|
||||
Constants.DiscordRegexNames.EMOJI,
|
||||
args.emoji
|
||||
|
|
|
@ -20,8 +20,6 @@ module.exports = {
|
|||
|
||||
// If we have an argument, generate code
|
||||
if(args.text.length){
|
||||
await context.triggerTyping();
|
||||
|
||||
let response = await editOrReply(context, createEmbed("loading", context, `Generating qr code...`))
|
||||
try{
|
||||
const t = Date.now();
|
||||
|
|
|
@ -15,7 +15,6 @@ module.exports = {
|
|||
usage: 'screenshot <url>'
|
||||
},
|
||||
run: async (context, args) => {
|
||||
context.triggerTyping();
|
||||
if(!args.url) return editOrReply(context, { embeds: [createEmbed("warning", context, "No url supplied.")] })
|
||||
|
||||
let response = await editOrReply(context, createEmbed("loading", context, `Creating website screenshot...`))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue