Esempio n. 1
0
File: client.py Progetto: zw5/disco
 def channels_messages_reactions_get(self,
                                     channel,
                                     message,
                                     emoji,
                                     after=None,
                                     limit=100):
     r = self.http(Routes.CHANNELS_MESSAGES_REACTIONS_GET,
                   dict(channel=channel, message=message, emoji=emoji),
                   params={
                       'after': after,
                       'limit': limit
                   })
     return User.create_map(self.client, r.json())
Esempio n. 2
0
 def guilds_bans_list(self, guild):
     r = self.http(Routes.GUILDS_BANS_LIST, dict(guild=guild))
     return User.create_map(self.client, r.json())
Esempio n. 3
0
 def channels_messages_reactions_get(self, channel, message, emoji):
     r = self.http(Routes.CHANNELS_MESSAGES_REACTIONS_GET, dict(channel=channel, message=message, emoji=emoji))
     return User.create_map(self.client, r.json())