mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-22 15:44:57 +00:00
Don't read the config twice
It's already loaded above lol
This commit is contained in:
parent
c1af742c73
commit
9078a583e2
1 changed files with 1 additions and 2 deletions
|
@ -37,8 +37,7 @@ class Events(commands.Cog):
|
|||
print(
|
||||
f'[{str(datetime.utcnow().replace(microsecond=0))[11:]} INFO]: [TELNET] Bot logged into Telnet as: {self.bot.telnet_object.username}')
|
||||
|
||||
reaction_data = read_json('config')
|
||||
self.bot.reaction_roles = reaction_data['reaction_roles']
|
||||
self.bot.reaction_roles = config['reaction_roles']
|
||||
|
||||
print(f'[{str(datetime.utcnow().replace(microsecond=0))[11:]} INFO]: [Client] {self.bot.user.name} is online.')
|
||||
game = discord.Game('play.totalfreedom.me')
|
||||
|
|
Loading…
Reference in a new issue