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