File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ discussion on GitHub!
2727
2828 quickstart.rst
2929 gettingstarted.rst
30+ migrate_to_109.rst
3031 discord_slash.rst
3132 events.rst
3233 discord_slash.utils.rst
Original file line number Diff line number Diff line change 1+ Migrate To 1.0.9
2+ ================
3+
4+ 1.0.9 Update includes many feature add/rewrite for easier and better usage.
5+ However, due to that, it includes many critical breaking changes.
6+
7+ This page will show how to deal with those changes.
8+
9+ SlashContext.send()
10+ ********************
11+
12+ Before:
13+
14+ .. code-block :: python
15+
16+ await ctx.send(4 , content = " Hello, World! This is initial message." )
17+ await ctx.delete()
18+ await ctx.send(content = " This is followup message." )
19+
20+ After:
21+
22+ .. code-block :: python
23+
24+ await ctx.respond(eat = False )
25+ msg = await ctx.send(" Hello, World! This is initial message." )
26+ await msg.delete()
27+ await ctx.send(" This is followup message." )
You can’t perform that action at this time.
0 commit comments