From d1bdadc77e2fc9b53880ef596a8b1feee4ac95b8 Mon Sep 17 00:00:00 2001 From: Astoria Floyd Date: Sun, 8 Aug 2021 13:19:41 -0500 Subject: [PATCH] Added deletion to FIGLET and COWSAY --- commands/complexCommands.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/complexCommands.lua b/commands/complexCommands.lua index c930edf..cca265d 100644 --- a/commands/complexCommands.lua +++ b/commands/complexCommands.lua @@ -26,6 +26,7 @@ local commands = { -- Define commands its a table that will contain our commands local figlet = tools.figlet(figletthis) local result = "```fix" .. "\n" .. figlet .. "```" message.channel:send(result) + message:delete() end }; [prefix..'cowsay'] = { -- Parrots input to cowsay, then echos it to the same channel you are in. @@ -35,6 +36,7 @@ local commands = { -- Define commands its a table that will contain our commands local cowsaid = tools.cowsay(cowsay) local result = "```fix" .. "\n" .. cowsaid .. "```" message.channel:send(result) + message:delete() end }; [prefix..'echo'] = { -- Echo's what you said back out, in a fix codeblock. Could be against TOS.