Advertisement

C_FriendList.RemoveFriend

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

  • BattleForAzeroth-Logo-Small.png Patch 8.1.0 / API (2018-12-11): Moved to C_FriendList. The previous alias RemoveFriend is deprecated and will be removed in the next expansion.
Community content is available under CC BY-SA 3.0 unless otherwise noted.