Added admin config options
This commit is contained in:
parent
809ab77797
commit
42b79cf147
|
@ -24,4 +24,57 @@ config.DEFAULT_CHANNEL = "Bot Testing"
|
||||||
-- DEFAULT VALUE: "!"
|
-- DEFAULT VALUE: "!"
|
||||||
config.COMMAND_PREFIX = "!"
|
config.COMMAND_PREFIX = "!"
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------
|
||||||
|
-- ADMIN CONFIGURATION
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
-- Enable admins (true = on, false = off)
|
||||||
|
-- DEFAULT VALUE: true
|
||||||
|
config.ENABLE_ADMINS = true
|
||||||
|
|
||||||
|
-- List of admins
|
||||||
|
-- NOTE: I recommend only giving users admin privileges if they are registered
|
||||||
|
-- on the server. Otherwise people can just take their username and issue admin
|
||||||
|
-- commands.
|
||||||
|
-- EXAMPLE:
|
||||||
|
-- config.ADMINS = {"Matt", "Matthieu"}
|
||||||
|
config.ADMINS = {}
|
||||||
|
|
||||||
|
-- Make start an admin command?
|
||||||
|
-- DEFAULT VALUE: false
|
||||||
|
config.ADMIN_START = false
|
||||||
|
|
||||||
|
-- Make play an admin command?
|
||||||
|
-- DEFAULT VALUE: false
|
||||||
|
config.ADMIN_PLAY = false
|
||||||
|
|
||||||
|
-- Make pause an admin command?
|
||||||
|
-- DEFAULT VALUE: false
|
||||||
|
config.ADMIN_PAUSE = false
|
||||||
|
|
||||||
|
-- Make add an admin command?
|
||||||
|
-- DEFAULT VALUE: false
|
||||||
|
config.ADMIN_ADD = false
|
||||||
|
|
||||||
|
-- Make skip an admin command?
|
||||||
|
-- DEFAULT VALUE: false
|
||||||
|
config.ADMIN_SKIP = false
|
||||||
|
|
||||||
|
-- Make volumeup an admin command?
|
||||||
|
-- DEFAULT VALUE: true
|
||||||
|
config.ADMIN_VOLUMEUP = true
|
||||||
|
|
||||||
|
-- Make volumedown an admin command?
|
||||||
|
-- DEFAULT VALUE: true
|
||||||
|
config.ADMIN_VOLUMEDOWN = true
|
||||||
|
|
||||||
|
-- Make move an admin command?
|
||||||
|
-- DEFAULT VALUE: true
|
||||||
|
config.ADMIN_MOVE = true
|
||||||
|
|
||||||
|
-- Make kill an admin command?
|
||||||
|
-- DEFAULT VALUE: true (I recommend never changing this to false)
|
||||||
|
config.ADMIN_KILL = true
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
|
Reference in a new issue