aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-11-10 20:31:58 -0500
committerRapptz <[email protected]>2017-01-03 09:51:56 -0500
commit59a0df5f985d4391c4b0af612c902bd6ac802920 (patch)
tree6bc3dd173680eab762535cadaa298e69682ae525 /discord/client.py
parentMake emojis and members stateful. (diff)
downloaddiscord.py-59a0df5f985d4391c4b0af612c902bd6ac802920.tar.xz
discord.py-59a0df5f985d4391c4b0af612c902bd6ac802920.zip
Rename try_insert_user to store_user
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 8b69e111..46644546 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -2395,7 +2395,7 @@ class Client:
"""
data = yield from self.http.get_bans(guild.id)
- return [self.connection.try_insert_user(user) for user in data]
+ return [self.connection.store_user(user) for user in data]
@asyncio.coroutine
def prune_members(self, guild, *, days):