Skip to content

Commit

Permalink
Update service.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BattlefieldDuck committed Nov 7, 2023
1 parent 77b7433 commit 3069402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discordgsm/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
database = Database()
gamedig = Gamedig()

client_id = base64.b64decode(os.environ['APP_TOKEN'].strip().split('.')[0] + '===').decode()
client_id = base64.b64decode(os.environ['APP_TOKEN'].strip().split('.')[0] + '===').decode('utf-8', 'ignore')
permissions = '137439242320' # Manage Channels, Send Messages, Manage Messages, Embed Links, Use External Emojis, Use External Stickers, Add Reactions
invite_link = f'https://discord.com/api/oauth2/authorize?client_id={client_id}&permissions={permissions}&scope=applications.commands%20bot'

Expand Down

0 comments on commit 3069402

Please sign in to comment.