This commit is contained in:
Nexus 2023-08-28 22:07:26 +01:00
parent 7807935571
commit 0a85fc8e3f
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -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)