diff --git a/discordbot.py b/discordbot.py index 8d059188..06740bf0 100644 --- a/discordbot.py +++ b/discordbot.py @@ -449,7 +449,7 @@ class RoyalDiscordBot(discord.Client): def load_config(self, filename): # Init the config reader config = configparser.ConfigParser() - config.read("config.ini") + config.read(filename) # Token try: self.token = config["Discord"]["bot_token"]