Added migration docs

This commit is contained in:
hydrabolt
2015-11-20 21:58:03 +00:00
parent 3a4def4ec0
commit 33a83437cb
2 changed files with 33 additions and 0 deletions

View File

@@ -19,6 +19,12 @@ Contents:
.. _docs:
.. toctree::
:maxdepth: 1
:caption: General
migrating
.. toctree::
:maxdepth: 1
:caption: Channel Documentation

27
docs/migrating.rst Normal file
View File

@@ -0,0 +1,27 @@
.. include:: ./vars.rst
Updating to v5.0.0
==================
If you're coming from versions below v5, you might find some changes. Here are the major changes:
--------
Change 1
--------
--------
.. code-block:: js
// OLD:
client.getUser();
client.getServer();
server.getMember(); // etc etc
// NEW:
client.users.get();
client.servers.get();
client.members.get();