mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Fix /me
This commit is contained in:
parent
7807935571
commit
0a85fc8e3f
1 changed files with 5 additions and 0 deletions
|
@ -102,6 +102,11 @@ class InfoCog(commands.Cog):
|
|||
value="\n".join(f"{connection['type'].title()} ({connection['id']})" for connection in connections),
|
||||
)
|
||||
|
||||
if not embed.fields:
|
||||
embed.description = "No data found. You may need to [reauthenticate.](%s)" % OAUTH_REDIRECT_URI
|
||||
embed.url = OAUTH_REDIRECT_URI
|
||||
embed.colour = discord.Color.red()
|
||||
|
||||
await ctx.respond(embed=embed)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue