Fires when unit is promoted or demoted within the guild. This event fires when unit is promoted or demoted within the guild. GUILD_ROSTER_UPDATE is fired at the same time.
Signature:
("unit")
Arguments:
unit- The unit that was promoted or demoted (string, unitId)
Examples:
function MyAddon:GUILD_RANKS_UPDATE(unit)
if unit ~= "player" then return end
print("My rank has changed!")
end