You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/migration.rst
+33-1Lines changed: 33 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,38 @@ Migration
2
2
+++++++++
3
3
This page contains instructions on how to migrate between versions with breaking changes.
4
4
5
+
Migrate To V2.0.0
6
+
=================
7
+
This update introduced component support, and removed support for positional arguments.
8
+
9
+
To resolve long standing issues with the library, we have removed positional argument support. From now on, only keyword arguments are supported. As such you may need to update your commands.
10
+
11
+
Put simply, you will need to make sure your command parameters are named the same as your options, or use the connector argument.
Changes that you'll need to make in this version are mainly because of a new ui from discord, more info `here <https://github.com/discord/discord-api-docs/pull/2615>`_
@@ -24,7 +56,7 @@ We suggest deferring if you might take more than three seconds to respond, but i
24
56
``ctx.channel.send`` does **not** count as responding.
0 commit comments