From 3f56293ccb31da029709440f2bdf07f427369a4a Mon Sep 17 00:00:00 2001 From: tommy aka doge <59783653+dowoge@users.noreply.github.com> Date: Sat, 21 May 2022 01:32:54 -0400 Subject: [PATCH] idk what i changed --- src/main.lua | 4 ++-- src/modules/commands/skillCalc.lua | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main.lua b/src/main.lua index 66f85c3..6801b7c 100644 --- a/src/main.lua +++ b/src/main.lua @@ -281,8 +281,8 @@ client:on('messageCreate', function(message) else message:reply('command does not exist 👎') end - else - message:reply('bot is locked, please wait until it is unlocked') + else --_G.current = {name=user.name,game=API.GAMES[game],style=API.STYLES[style]:lower()} + message:reply('Bot is currently in use, please try again later ('.._G.current.name..' for '.._G.current.game..' in '.._G.current.style..')') end end end) diff --git a/src/modules/commands/skillCalc.lua b/src/modules/commands/skillCalc.lua index 67ef79f..ec19238 100644 --- a/src/modules/commands/skillCalc.lua +++ b/src/modules/commands/skillCalc.lua @@ -33,6 +33,7 @@ commands:Add('skill',{},'skill