Signed-off-by: Etzelia <etzelia@hotmail.com>
parent
21bd2a2c8b
commit
1004a31be4
|
@ -86,7 +86,7 @@ func Load(configPath string) (*Config, error) {
|
|||
var err error
|
||||
var configContent []byte
|
||||
if len(configPath) == 0 {
|
||||
configPath = "sedbot.toml"
|
||||
configPath = "canopeas.toml"
|
||||
}
|
||||
|
||||
configContent, err = ioutil.ReadFile(configPath)
|
||||
|
|
103
sedbot.toml
103
sedbot.toml
|
@ -1,103 +0,0 @@
|
|||
# token is the Discord token for the bot
|
||||
token = "ODMyNDUxMDUyNTY5MTAwMzA4.YHj-dQ.UZEO71yJpGVDUFguTx3vs6rpKu0"
|
||||
|
||||
# prefix is the bot command prefix
|
||||
prefix = "!"
|
||||
|
||||
# db_path is the path to the database (default is next to binary)
|
||||
db_path = "sedbot.db"
|
||||
|
||||
# mc_path is the path to the root directory of the minecraft server
|
||||
mc_path = "/home/minecraft/server/"
|
||||
|
||||
# fired_role is to check how many time Carolyn has been fired
|
||||
fired_role = "0"
|
||||
|
||||
# register_role is the role to assign to a user after registering
|
||||
register_role = "0"
|
||||
|
||||
# registered_channel is the channel to message to welcome the newly registered user
|
||||
registered_channel = "0"
|
||||
|
||||
# leave_channel is the channel to post leave messages to
|
||||
leave_channel = "0"
|
||||
|
||||
# staff_roles are for staff commands
|
||||
staff_roles = []
|
||||
|
||||
# meme_rate is the rate limit for memes
|
||||
meme_rate = "0"
|
||||
|
||||
# Imgur Client ID
|
||||
imgur_client_id = "66153d2fa93df9b"
|
||||
|
||||
# ServerAPI options
|
||||
[serverapi]
|
||||
# API endpoint
|
||||
endpoint = ""
|
||||
# Auth token
|
||||
token = ""
|
||||
|
||||
# Twitter options
|
||||
[twitter]
|
||||
# Consumer Key
|
||||
consumer_key = ""
|
||||
# Consumer Secret
|
||||
consumer_secret = ""
|
||||
# Access Token
|
||||
access_token = ""
|
||||
# Access Secret
|
||||
access_secret = ""
|
||||
|
||||
# Server options
|
||||
[server]
|
||||
# connection address
|
||||
address = ""
|
||||
# connection port
|
||||
port = 25565
|
||||
|
||||
# MCM options
|
||||
[mcm]
|
||||
# the token for the MCM API
|
||||
token = ""
|
||||
# the base URL to the MCM API
|
||||
url = ""
|
||||
|
||||
# insults
|
||||
# <args>, your <target> looks like <comparison>, you <adjective> <noun>
|
||||
[insult]
|
||||
targets = []
|
||||
comparisons = []
|
||||
adjectives = []
|
||||
nouns = []
|
||||
|
||||
# compliments
|
||||
# <args>, I would <verb> my <noun> just to <minor thing>.
|
||||
[compliment]
|
||||
verbs = []
|
||||
nouns = []
|
||||
minor_things = []
|
||||
|
||||
[[albums]]
|
||||
name = "jupiter"
|
||||
aliases = ["jup", "jupjup"]
|
||||
album_id = "TaJVIdQ"
|
||||
help = "Images of Jupiter"
|
||||
|
||||
# echoes are any basic command -> message
|
||||
[[echoes]]
|
||||
name = "discord"
|
||||
aliases = ["invite", "gib"]
|
||||
message = "<https://birbmc.com/discord>"
|
||||
help = "Get the invite link"
|
||||
|
||||
# message_roles are for messages that should toggle a role when a user selects it
|
||||
[[message_roles]]
|
||||
channel_id = "0"
|
||||
message_id = "0"
|
||||
[[message_roles.reactions]]
|
||||
role_id = "0"
|
||||
emoji = "👍"
|
||||
[[message_roles.reactions]]
|
||||
role_id = "0"
|
||||
emoji = "👎"
|
Loading…
Reference in New Issue