Skip to content

Commit b939817

Browse files
authored
Change client.run() to use get_token() command
It pulls the token from runtimeconfig.json and returns it there
1 parent c0c0649 commit b939817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ async def modify_balance(ctx:SlashContext, user:discord.User, modifier:int):
10731073

10741074
# Initialization
10751075
utils.ping.host()
1076-
client.run(api.auth.token)
1076+
client.run(api.auth.get_token())
10771077

10781078

10791079

0 commit comments

Comments
 (0)