Skip to content

Commit 66592e2

Browse files
committed
Refresh config before setting status
1 parent 1a58b4c commit 66592e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ async def get_pre(bot, message):
144144
async def on_connect(self):
145145
print(line)
146146
print(Fore.CYAN + 'Connected to gateway.')
147-
147+
await self.config.refresh()
148148
status = self.config.get('status')
149149
if status:
150150
await self.change_presence(activity=discord.Game(status))

0 commit comments

Comments
 (0)