- Close with message if user denied overlay permissions
This commit is contained in:
parent
fdb8a48267
commit
1844e32ebe
1 changed files with 2 additions and 1 deletions
|
|
@ -107,7 +107,8 @@ class DiscordConnector:
|
|||
else:
|
||||
log.error("No access token in json response")
|
||||
log.error(response.text)
|
||||
self.on_close()
|
||||
log.error("The user most likely denied permission for this app")
|
||||
sys.exit(1)
|
||||
|
||||
def set_channel(self, channel, guild, need_req=True):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue