'Set the entity\'s priority value. Some server use priority to
determine message routing behavior.
Bot clients should typically use a priority of 0 if the same
JID is used elsewhere by a human-interacting client.
Arguments:
value -- An integer value greater than or equal to 0.'

def set_priority(self, value):

    self._set_sub_text('priority', text=str(value))
