Made prefix configurable

pull/1/head
Astoria Floyd 3 years ago
parent c3be53ce45
commit 392b2e9e19

@ -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.

@ -0,0 +1,2 @@
--Litterally just the prefix right now
return "!"

@ -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)

Loading…
Cancel
Save