mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Fix unused parameter
This commit is contained in:
parent
da8af8baf9
commit
6ef17966a3
1 changed files with 1 additions and 1 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue