mirror of https://gitlab.com/litecord/litecord.git
parent
3dc289d90f
commit
a90b79b3f3
|
|
@ -227,7 +227,7 @@ async def post_relationship():
|
||||||
|
|
||||||
if not uid:
|
if not uid:
|
||||||
raise RelationshipFailed("No users with DiscordTag exist")
|
raise RelationshipFailed("No users with DiscordTag exist")
|
||||||
|
|
||||||
if uid == user_id:
|
if uid == user_id:
|
||||||
raise RelationshipFailed("Tried to add themselves as friend")
|
raise RelationshipFailed("Tried to add themselves as friend")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue