diff options
| author | Rapptz <[email protected]> | 2017-05-14 23:55:38 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-14 23:55:38 -0400 |
| commit | 2d465d9b3cd90321a2ed34e55df580022d7d5707 (patch) | |
| tree | 68d2b31fae31bd2c1daf1231c25a847fec5af645 /docs/migrating.rst | |
| parent | Add note about upgraded dependencies in the migrating page. (diff) | |
| download | discord.py-2d465d9b3cd90321a2ed34e55df580022d7d5707.tar.xz discord.py-2d465d9b3cd90321a2ed34e55df580022d7d5707.zip | |
Fix dead links in the migrating page.
Diffstat (limited to 'docs/migrating.rst')
| -rw-r--r-- | docs/migrating.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/migrating.rst b/docs/migrating.rst index b4b22d23..90e33632 100644 --- a/docs/migrating.rst +++ b/docs/migrating.rst @@ -53,7 +53,7 @@ A list of changes is as follows: +-------------------------------+----------------------------------+ | ``Message.server`` | :attr:`Message.guild` | +-------------------------------+----------------------------------+ -| ``Channel.server`` | :attr:`abc.GuildChannel.guild` | +| ``Channel.server`` | :attr:`.GuildChannel.guild` | +-------------------------------+----------------------------------+ | ``Client.servers`` | :attr:`Client.guilds` | +-------------------------------+----------------------------------+ @@ -167,7 +167,7 @@ A list of these changes is enumerated below. +---------------------------------------+------------------------------------------------------------------------------+ | ``Client.prune_members`` | :meth:`Guild.prune_members` | +---------------------------------------+------------------------------------------------------------------------------+ -| ``Client.purge_from`` | :meth:`abc.Messageable.purge` | +| ``Client.purge_from`` | :meth:`TextChannel.purge` | +---------------------------------------+------------------------------------------------------------------------------+ | ``Client.remove_reaction`` | :meth:`Message.remove_reaction` | +---------------------------------------+------------------------------------------------------------------------------+ @@ -296,7 +296,7 @@ And to check if it's a private channel you would do: :: Of course, if you're looking for only a specific type you can pass that too, e.g. :: - isintance(channel, discord.TextChannel) + isinstance(channel, discord.TextChannel) With this type split also came event changes, which are enumerated in :ref:`migrating_1_0_event_changes`. |