mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 14:43:05 -04:00
remove typing from undo
This commit is contained in:
parent
cfb4be60ad
commit
5b214ebab1
1 changed files with 0 additions and 1 deletions
|
@ -13,7 +13,6 @@ module.exports = {
|
||||||
},
|
},
|
||||||
run: async (context, args) => {
|
run: async (context, args) => {
|
||||||
try{
|
try{
|
||||||
context.triggerTyping();
|
|
||||||
if(typeof(args.amount) == "string") args.amount = parseInt(args.amount)
|
if(typeof(args.amount) == "string") args.amount = parseInt(args.amount)
|
||||||
if(!args.amount) args.amount = 1
|
if(!args.amount) args.amount = 1
|
||||||
if(args.amount >= 6 || args.amount <= 0) return await editOrReply(context, {embeds:[createEmbed("warning", context, "Invalid Argument (amount)")]})
|
if(args.amount >= 6 || args.amount <= 0) return await editOrReply(context, {embeds:[createEmbed("warning", context, "Invalid Argument (amount)")]})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue