diff --git a/complexCommands.lua b/complexCommands.lua index 7c1f985..f946d24 100644 --- a/complexCommands.lua +++ b/complexCommands.lua @@ -2,7 +2,7 @@ local tools = require("./tools.lua") local rng = require("./rng.lua") local complexCommands = {} -local prefix = 'test!' +local prefix = require("./settings.lua") local commands = { -- Define commands its a table that will contain our commands [prefix..'helpme'] = { -- Dumps docs/help to chat, took me forever to figure out. diff --git a/settings.lua b/settings.lua new file mode 100644 index 0000000..7afacf4 --- /dev/null +++ b/settings.lua @@ -0,0 +1,2 @@ +--Litterally just the prefix right now +return "!" \ No newline at end of file diff --git a/simpleCommands.lua b/simpleCommands.lua index a2b033b..45988f5 100644 --- a/simpleCommands.lua +++ b/simpleCommands.lua @@ -1,5 +1,5 @@ local basicCommands = {} -local prefix = "test!" +local prefix = require("./settings.lua") local commands = { -- Define commands its a table that will contain our commands [prefix..'lenny'] = { -- Creates a lenny face exec = function (message)