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)