Added Licence information. Aka do whatever you want.

pull/1/head
Astoria Floyd 3 years ago
parent f4b9907140
commit 8f89fab836

@ -24,13 +24,13 @@ end)
--Re-Init detector. Only command that itself cannot be fully re-initialized
client:on('messageCreate', function(message)
local user = message.guild:getMember(message.author.id)
if not user:hasPermission("administrator") then
message:reply("You cannot re-initialize this bot!")
else
if Tools.messageDectection(message, "reinitialize") == true then
Commands = Tools.initialize()
Tools = dofile("./tools.lua")
message:reply("Re-Initialized!")
if not user:hasPermission("administrator") then
message:reply("You cannot re-initialize this bot!")
else
Commands = Tools.initialize()
Tools = dofile("./tools.lua")
message:reply("Re-Initialized!")
end
end
end)
@ -47,4 +47,8 @@ end)
--Insert Token in a .lua file with simply returns it as a string.
local token = require("./token.lua")
client:run('Bot '..token)
client:run('Bot '..token)
-- This project is libre, and licenced under the terms of the
-- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENCE, version 3.1,
-- as published by dtf on July 2019. See the COPYING file or
-- https://ph.dtf.wtf/w/wtfpl/#version-3-1 for more details.

@ -52,4 +52,8 @@ local commands = { -- Define commands its a table that will contain our commands
function complexCommands.initialize()
return commands
end
return complexCommands
return complexCommands
-- This project is libre, and licenced under the terms of the
-- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENCE, version 3.1,
-- as published by dtf on July 2019. See the COPYING file or
-- https://ph.dtf.wtf/w/wtfpl/#version-3-1 for more details.

@ -34,4 +34,8 @@ function rng.roll(arg)
return message
end
return rng
return rng
-- This project is libre, and licenced under the terms of the
-- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENCE, version 3.1,
-- as published by dtf on July 2019. See the COPYING file or
-- https://ph.dtf.wtf/w/wtfpl/#version-3-1 for more details.

@ -1,2 +1,6 @@
--Litterally just the prefix right now
return "!"
return "!"
-- This project is libre, and licenced under the terms of the
-- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENCE, version 3.1,
-- as published by dtf on July 2019. See the COPYING file or
-- https://ph.dtf.wtf/w/wtfpl/#version-3-1 for more details.

@ -47,3 +47,7 @@ function basicCommands.initialize()
return commands
end
return basicCommands
-- This project is libre, and licenced under the terms of the
-- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENCE, version 3.1,
-- as published by dtf on July 2019. See the COPYING file or
-- https://ph.dtf.wtf/w/wtfpl/#version-3-1 for more details.

@ -89,4 +89,8 @@ function tools.figlet(string)
return string
end
return tools
return tools
-- This project is libre, and licenced under the terms of the
-- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENCE, version 3.1,
-- as published by dtf on July 2019. See the COPYING file or
-- https://ph.dtf.wtf/w/wtfpl/#version-3-1 for more details.
Loading…
Cancel
Save