mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +01:00
Auto-delete invalid tokens
This commit is contained in:
parent
0a85fc8e3f
commit
e6365c0f08
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ class InfoCog(commands.Cog):
|
||||||
)
|
)
|
||||||
|
|
||||||
if not embed.fields:
|
if not embed.fields:
|
||||||
|
await user.delete()
|
||||||
embed.description = "No data found. You may need to [reauthenticate.](%s)" % OAUTH_REDIRECT_URI
|
embed.description = "No data found. You may need to [reauthenticate.](%s)" % OAUTH_REDIRECT_URI
|
||||||
embed.url = OAUTH_REDIRECT_URI
|
embed.url = OAUTH_REDIRECT_URI
|
||||||
embed.colour = discord.Color.red()
|
embed.colour = discord.Color.red()
|
||||||
|
|
Loading…
Reference in a new issue