1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +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):
# Init the config reader
config = configparser.ConfigParser()
config.read("config.ini")
config.read(filename)
# Token
try:
self.token = config["Discord"]["bot_token"]