C_FriendList.RemoveFriend

From Warcraft Wiki
Jump to navigation Jump to search

Removes a friend from the friends list.

removed = C_FriendList.RemoveFriend(name)

Arguments

name
string - the name of the friend to remove.

Returns

removed
boolean - whether the friend was successfully removed.

Patch changes

Battle for Azeroth Patch 8.1.0 (2018-12-11): Moved to C_FriendList. The previous alias RemoveFriend is deprecated and will be removed in the next expansion.