only use typing indicator where it makes sense

This commit is contained in:
derpystuff 2022-07-09 00:09:18 +02:00
parent b297bd9f0e
commit c54a29ad26
10 changed files with 3 additions and 14 deletions

View file

@ -71,7 +71,6 @@ module.exports = {
usage: 'help [<command>]'
},
run: async (context, args) => {
context.triggerTyping();
if(args.command){
// Detailed command view
let results = []

View file

@ -12,7 +12,6 @@ module.exports = {
usage: 'privacy'
},
run: async (context) => {
context.triggerTyping();
return await editOrReply(context,
createEmbed("default", context, {
description: `${icon("rules")} **labsCore Privacy Policy**\n*Last Updated: ${timestamp(PRIVACY_POLICY_LAST_UPDATE, "f")}*\n\n${PRIVACY_POLICY_SECTIONS.join('\n\n')}\n\nIf you have any further questions, please contact us via our ${link(DISCORD_INVITES.privacy, "Support Server")}`,

View file

@ -12,7 +12,6 @@ module.exports = {
usage: 'shard'
},
run: async (context) => {
context.triggerTyping();
return await editOrReply(context,
createEmbed("default", context, {
description: `${codeblock("ansi", [

View file

@ -21,7 +21,6 @@ module.exports = {
`${context.user.mention}, you are lacking the permission \`BOT_OWNER\`.`
),
run: async (context, args) => {
await context.triggerTyping();
let response = await editOrReply(context, createEmbed("loading", context, "Updating bot..."))
try{
const t = Date.now()

View file

@ -32,7 +32,6 @@ module.exports = {
{ name: 'rotate', default: 'rand', required: false }
],
run: async (context, args) => {
context.triggerTyping();
let response = await editOrReply(context, createEmbed("loading", context, `Generating image...`))
try{
let seed = Math.floor(Math.random() * 999999) + 100000,

View file

@ -19,7 +19,6 @@ module.exports = {
duration: 5000
},
run: async (context, args) => {
context.triggerTyping();
let response = await editOrReply(context, { embeds: [createEmbed("loading", context, `Synthesizing images...`)] })
try{

View file

@ -15,7 +15,6 @@ module.exports = {
usage: 'server'
},
run: async (context, args) => {
context.triggerTyping();
try{
const emojis = context.message.guild.emojis
const animojis = emojis.filter(emoji => emoji.animated).length

View file

@ -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

View file

@ -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();

View file

@ -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...`))