From 6ef17966a3c38a3908272344ddb6fa5bc19230bb Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 2 Jan 2019 20:33:35 +0100 Subject: [PATCH] Fix unused parameter --- discordbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]