Commit Graph
11 Commits
Author SHA1 Message Date
Gnome!andGitHub 456d71d228 Add better support for MENTIONABLE (#74) 2021-09-25 22:41:43 -07:00
Gnome!andGitHub 093a38527d Fix slash command prefix to / (#75) 2021-09-25 22:40:35 -07:00
Gnome!andGitHub 02c6b07834 Merge pull request #72
* Fix command checks actually working
2021-09-21 14:34:54 -07:00
Gnome!andGitHub b810848273 Merge pull request #70
* Fix embed image/thumbnail property
2021-09-21 12:10:16 -07:00
Gnome!andGitHub fba7ca420c Merge pull request #63
* Add ephemeral attachment field

* I did not miss a comma
2021-09-21 11:51:23 -07:00
Gnome!andGitHub e65415d3c8 Merge pull request #60
* Rework how checks add attributes to Commmand

* Merge remote-tracking branch 'upstream/2.0' into command-attrs-checks
2021-09-21 11:47:28 -07:00
Gnome!andGitHub 00ae8bb18c Fix all invites to devision server invite (#69) 2021-09-20 21:25:48 +02:00
1957fa6011 Implement a least breaking approach to slash commands (#39)
* Most slash command support completed, needs some debugging (and reindent)

* Implement a ctx.send helper for slash commands

* Add group command support

* Add Option converter, fix default optional, fix help command

* Add client.setup and move readying commands to that

* Implement _FakeSlashMessage.from_interaction

* Rename normmal_command to message_command

* Add docs for added params

* Add slash_command_guilds to bot and decos

* Fix merge conflict

* Remove name from commands.Option, wasn't used

* Move slash command processing to BotBase.process_slash_commands

* Create slash_only.py

Basic example for slash commands

* Create slash_and_message.py

Basic example for mixed commands

* Fix slash_command and normal_command bools

* Add some basic error handling for registration

* Fixed converter upload errors

* Fix some logic and make an actual example

* Thanks Safety Jim

* docstrings, *args, and error changes

* Add proper literal support

* Add basic documentation on slash commands

* Fix non-slash command interactions

* Fix ctx.reply in slash command context

* Fix typing on Context.reply

* Fix multiple optional argument sorting

* Update ctx.message docs to mention error instead of warning

* Move slash command creation to BotBase

* Fix code style issues with Black

* Rearrange some stuff and add flag support

* Change some errors and fix interaction.channel fixing

* Fix slash command quoting for *args

Co-authored-by: iDutchy <42503862+iDutchy@users.noreply.github.com>
Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2021-09-19 01:28:11 +02:00
Gnome!andGitHub 53a6b2cb45 Revert "Merge pull request #12" (#56)
This reverts commit 42c0a8d8a5.
2021-09-05 10:37:51 -07:00
Gnome!andGitHub 4fca699810 Fill in ConnectionState.user via HTTPClient.static_login 2021-08-10 08:37:29 -04:00
Gnome!andGitHub 67026809a8 Fix EqualityComparable.__eq__ typing 2021-07-28 19:55:19 -04:00