Beispiel #1
0
 def reset_username(self):
     """Resets the session user's username"""
     return r.delete('/profile/username', headers=config.headers)
Beispiel #2
0
 def unlike_message(self):
     """Unlikes a message"""
     resp = r.delete('/message/{}/like'.format(self.message_id))
     if resp.status_code == 204:
         return resp
     return "Error, unable to unlike the message"