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
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,15 @@ This page contains instructions on how to migrate between versions with breaking
4
4
5
5
Migrate To V1.1.0
6
6
==================
7
-
Changes that you'll need to make in this version are mainly becuase of a new ui from discord, more info `here <https://github.com/discord/discord-api-docs/pull/2615>`_
7
+
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>`_
8
8
9
9
Responding / Deferring
10
10
**********************
11
11
12
-
In regards to :class:`SlashContext` the methods ``.respond`` and ``.ack`` have been removed, and ``.defer`` added.
12
+
In regards to :class:`SlashContext` the methods ``.respond`` and ``.ack`` have been removed, and ``.defer`` added.
13
13
Deferring a message will allow you to respond for up to 15 mins, but you'll have to defer within three seconds.
14
-
When you defer the user will see a "this bot is thinking" message until you send a message, This message can be ephermical (hidden) or visible.
15
-
``.defer`` has a ``hidden`` parameter, which will make the deferred message ephermical.
14
+
When you defer the user will see a "this bot is thinking" message until you send a message, This message can be ephemeral (hidden) or visible.
15
+
``.defer`` has a ``hidden`` parameter, which will make the deferred message ephemeral.
16
16
17
17
We suggest deferring if you might take more than three seconds to respond, but if you will call ``.send`` before three seconds then don't.
18
18
@@ -33,7 +33,7 @@ Example
33
33
asyncdefcommand(ctx, ...):
34
34
await ctx.respond()
35
35
await ctx.send(...)
36
-
36
+
37
37
# After 1
38
38
@slash.slash(...)
39
39
asyncdefcommand(ctx, ...):
@@ -46,7 +46,7 @@ Example
46
46
# Process that takes time
47
47
await ctx.send(...)
48
48
49
-
49
+
50
50
Sending hidden messages
51
51
***********************
52
52
The method ``.send_hidden`` on :class:`SlashContext` has been removed. Use ``.send(hidden = True, ..)`` instead.
0 commit comments