1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-12-03 16:24:20 +00:00

Fix unused parameter

This commit is contained in:
Steffo 2019-01-02 20:33:35 +01:00
parent da8af8baf9
commit 6ef17966a3

View file

@ -449,7 +449,7 @@ class RoyalDiscordBot(discord.Client):
def load_config(self, filename): def load_config(self, filename):
# Init the config reader # Init the config reader
config = configparser.ConfigParser() config = configparser.ConfigParser()
config.read("config.ini") config.read(filename)
# Token # Token
try: try:
self.token = config["Discord"]["bot_token"] self.token = config["Discord"]["bot_token"]