Implement a least breaking approach to slash commands #39

Merged
Gnome-py merged 42 commits from 2.0 into 2.0 2021-09-18 23:28:11 +00:00

42 Commits

Author SHA1 Message Date
Gnome!
710c4e87bc Merge branch 'iDevision:2.0' into 2.0 2021-09-18 10:43:58 +01:00
Gnome
bef83719ea Fix slash command quoting for *args 2021-09-17 20:30:49 +01:00
Gnome
cbf5118790 Change some errors and fix interaction.channel fixing 2021-09-12 11:37:24 +01:00
Gnome
f780de07d0 Merge branch '2.0' of github.com:Gnome-py/enhanced-discord.py into 2.0 2021-09-09 20:49:09 +01:00
Gnome
2f3d59e625 Rearrange some stuff and add flag support 2021-09-09 20:49:03 +01:00
Lint Action
f82fa5315d Fix code style issues with Black 2021-09-06 19:05:39 +00:00
Gnome
17096629cd Move slash command creation to BotBase 2021-09-06 20:05:06 +01:00
Gnome
bc2725dacc Try merge black changes 2021-09-06 11:39:46 +01:00
Gnome
9b9874c233 Merge branch '2.0' of github.com:Gnome-py/enhanced-discord.py into 2.0 2021-09-06 11:29:35 +01:00
Gnome!
2424491ca3 Merge branch 'iDevision:2.0' into 2.0 2021-09-05 18:38:49 +01:00
Gnome
4a38d64cf2 Merge branch '2.0' of github.com:Gnome-py/enhanced-discord.py into 2.0 2021-09-05 17:55:50 +01:00
Gnome!
6af5399936 Merge branch 'iDevision:2.0' into 2.0 2021-09-05 15:57:14 +01:00
Gnome
1391305e5a Update ctx.message docs to mention error instead of warning 2021-09-05 15:30:53 +01:00
Gnome
575a92cd3a Fix multiple optional argument sorting 2021-09-05 12:39:53 +01:00
Gnome
e9b95eaff7 Fix typing on Context.reply 2021-09-04 21:26:52 +01:00
Gnome
2a1dc8a069 Fix ctx.reply in slash command context 2021-09-04 20:57:29 +01:00
Gnome
6cb0737dfe Fix non-slash command interactions 2021-09-04 10:59:42 +01:00
Gnome
bad92723fc Add basic documentation on slash commands 2021-09-03 20:48:43 +01:00
Gnome
623fcc0ac0 Add proper literal support 2021-09-03 20:18:15 +01:00
Gnome
8a779ef595 docstrings, *args, and error changes 2021-09-02 21:24:37 +01:00
Gnome
7bf90f9e27 Thanks Safety Jim 2021-09-02 16:12:08 +01:00
Gnome
ce16dc97ed Fix some logic and make an actual example 2021-09-02 16:10:35 +01:00
Gnome
16ed293e00 Merge branch 'required-intents' into 2.0 2021-09-02 15:39:23 +01:00
Gnome
5eeefb8af6 Fixed converter upload errors 2021-09-02 14:31:19 +01:00
Gnome
fe780a04a2 Add some basic error handling for registration 2021-09-02 13:07:07 +01:00
Gnome
41e3d13eaf Merge branch '2.0' of github.com:Gnome-py/enhanced-discord.py into 2.0 2021-09-02 12:34:17 +01:00
Gnome
355097589a Fix slash_command and normal_command bools 2021-09-02 12:33:48 +01:00
iDutchy
15f04aa0d2 Create slash_and_message.py
Basic example for mixed commands
2021-09-02 02:18:33 +02:00
iDutchy
fcb72c1225 Create slash_only.py
Basic example for slash commands
2021-09-02 02:16:01 +02:00
Gnome
caa5f39c0f Move slash command processing to BotBase.process_slash_commands 2021-09-01 21:10:54 +01:00
Gnome
84b1d7d0cd Remove name from commands.Option, wasn't used 2021-09-01 18:53:50 +01:00
Gnome
a6d6472c79 Fix merge conflict 2021-09-01 17:45:25 +01:00
Gnome
f1d7d353b5 Add slash_command_guilds to bot and decos 2021-09-01 17:00:37 +01:00
Gnome
6faea43c99 Add docs for added params 2021-09-01 14:44:24 +01:00
Gnome
667c8e7caa Rename normmal_command to message_command 2021-09-01 12:45:39 +01:00
Gnome
5a49e1bf68 Implement _FakeSlashMessage.from_interaction 2021-09-01 11:51:45 +01:00
Gnome
0aa8c5bef3 Fix weird git problems 2021-08-31 19:22:37 +01:00
Gnome
2cdf4b86c5 Add client.setup and move readying commands to that 2021-08-31 19:13:32 +01:00
Gnome
7c83c335d1 Add Option converter, fix default optional, fix help command 2021-08-31 18:44:32 +01:00
Gnome
1a22df6228 Add group command support 2021-08-31 15:17:49 +01:00
Gnome
614c6bca67 Implement a ctx.send helper for slash commands 2021-08-31 12:12:21 +01:00
Gnome
a19e43675f Most slash command support completed, needs some debugging (and reindent) 2021-08-30 16:14:44 +01:00