diff --git a/config/config.go b/config/config.go index a28db47..73101a0 100644 --- a/config/config.go +++ b/config/config.go @@ -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) diff --git a/sedbot.toml b/sedbot.toml deleted file mode 100755 index e0d541f..0000000 --- a/sedbot.toml +++ /dev/null @@ -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 -# , your looks like , you -[insult] -targets = [] -comparisons = [] -adjectives = [] -nouns = [] - -# compliments -# , I would my just to . -[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 = "" -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 = "👎" \ No newline at end of file