From d323c35bf8a6454bfd739f39a95494d479f633ca Mon Sep 17 00:00:00 2001 From: Astoria Floyd Date: Wed, 11 Aug 2021 18:21:46 -0500 Subject: [PATCH] Ditto --- commands/complexCommands.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/complexCommands.lua b/commands/complexCommands.lua index 57892f1..555f608 100644 --- a/commands/complexCommands.lua +++ b/commands/complexCommands.lua @@ -51,7 +51,7 @@ end [prefix..'echo'] = { -- Echo's what you said back out, in a fix codeblock. Could be against TOS. exec = function (message) local prefixLength = string.len(prefix) - local echo = string.sub(message.content, 5+prefixLength) + local echo = string.sub(message.content, 6+prefixLength) local echoed = tools.echo(echo) local result = "```fix" .. "\n" .. echoed .. "```" if result == "```fix\n```" then message:delete() return @@ -65,7 +65,7 @@ end [prefix..'echoclean'] = { -- Echo's what you said back out, in a fix codeblock. Could be against TOS. exec = function (message) local prefixLength = string.len(prefix) - local echo = string.sub(message.content, 10+prefixLength) + local echo = string.sub(message.content, 11+prefixLength) local echoed = tools.echo(echo) local result = echoed message.channel:send(result)