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:
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):
|
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"]
|
||||||
|
|
Loading…
Reference in a new issue