index.rb
def update_nickname(member)
    nickname = get_nickname(member)
    if member.display_name != nickname
      member.set_nick nickname
    end
  end
#
# Update the nickname of the user
#
# @param [Discordrb::Member] member
#
# @return [void]
#
Update the nickname of the user
Update the nickname of the user
def update_nickname(member)
    nickname = get_nickname(member)
    if member.display_name != nickname
      member.set_nick nickname
    end
  end
def update_nickname ( member ) nickname = get_nickname ( member ) if member . display_name != nickname member . set_nick nickname end end
Update the nickname of the user
Update the nickname of the user
None
void
member
None