diff --git a/config-template.toml b/config-template.toml index cdc4798..8b80f15 100644 --- a/config-template.toml +++ b/config-template.toml @@ -1,3 +1,4 @@ +prefix = "!" token = "NerimityTokenHere" owner_id = 1234567890 api_key = "LastFmApiKeyHere" diff --git a/main.py b/main.py index e15a75c..d95bd00 100644 --- a/main.py +++ b/main.py @@ -6,7 +6,7 @@ with open("config.toml", "rb") as f: config = tomllib.load(f) bot = bot.Bot( - prefix = '!', + prefix = config['prefix'], token = config['token'], owner_id = config['owner_id'], lastfm_api_key = config['api_key'],