666 Commits

Author SHA1 Message Date
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
2f3d59e625 Rearrange some stuff and add flag support 2021-09-09 20:49:03 +01: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
Lint Action
7513c2138f Fix code style issues with Black 2021-09-05 21:34:20 +00:00
Gnome!
2424491ca3
Merge branch 'iDevision:2.0' into 2.0 2021-09-05 18:38:49 +01:00
Gnome!
53a6b2cb45
Revert "Merge pull request #12" (#56)
This reverts commit 42c0a8d8a5840c00185e367933e61e2565bf7305.
2021-09-05 10:37:51 -07:00
Gnome!
6af5399936
Merge branch 'iDevision:2.0' into 2.0 2021-09-05 15:57:14 +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
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
chillymosh
42c0a8d8a5
Merge pull request #12
* Clean up python

* Clean up bot python

* revert lists

* revert commands.bot completely

* extract raise_expected_coro further

* add new lines

* removed erroneous import

* remove hashed line
2021-09-02 12:32:46 -07:00
Arthur
092fbca08f
Merge pull request #21
* [BREAKING] Make case_insensitive default to True on groups and commands
2021-09-02 12:28:03 -07:00
Arthur
13834d1147
Merge pull request #7
* Add try_user to get a user from cache or from the gateway.

* Extract populate_owners into a new coroutine.

* Add a try_owners coroutine to get a list of owners of the bot.

* Fix coding-style.

* Fix a bug where None would be returned in try_owners if the cache was…

* Fix docstring

* Add spacing in the code
2021-09-02 12:24:52 -07:00
Arthur
5d10384576
Merge pull request #27
* Add author_permissions to the Context object as a shortcut to return …
2021-09-02 12:18:26 -07:00
Gnome
ce16dc97ed Fix some logic and make an actual example 2021-09-02 16:10:35 +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
355097589a Fix slash_command and normal_command bools 2021-09-02 12:33:48 +01: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
6e41bd2219 Remove intents.default and make intents a required parameter 2021-08-31 20:53:54 +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
Nadir Chowdhury
a2a7b0f076
[tasks] Improve typing parity 2021-08-27 17:18:15 -04:00
ShashankKumarSaxena
b2ac327bd8
[commands] Fix a small typo in Context.invoke docs 2021-08-27 16:02:10 -04:00
Rapptz
2d8f299b6b Use MISSING instead of None for HelpCommand.context
It's basically just late-init
2021-08-25 09:53:55 -04:00
Josh
9727b56503
Fix references in docs 2021-08-22 05:50:28 -04:00
Rapptz
ea2d972666 Make global log variable in modules private 2021-08-22 02:33:51 -04:00
Josh
166152647c
[commands] Make GroupMixin Generic 2021-08-21 14:35:05 -04:00
Rapptz
9246bbc8e3 [commands] De-indent after hook call
Close #7412
2021-08-20 20:08:27 -04:00
Willy
fa5a2188bb
Copy docs from Client.close() to Bot.close() 2021-08-20 20:06:51 -04:00
Sebastian Law
1d2eaf8526
[commands] reset view when Optional argument encounters parsing error 2021-08-19 19:56:28 -04:00
Josh
f3cb197429
[commands][types] Type hint commands-ext 2021-08-19 19:51:26 -04:00
Stocker
8fdd1f0d8f
[commands] Typehinted errors.py 2021-08-18 01:03:44 -04:00
AkshuAgarwal
6b6bcb92e6
Fix missing or broken versionadded in docstrings
This also documents BadFlagArgument.flag
2021-08-18 00:45:02 -04:00
thetimtoy
c4ee9dcafa
[commands] Return removed cog in Bot.remove_cog
The method now returns the removed cog, if it exists.
2021-08-18 00:39:54 -04:00
Josh
1c63816cc0
[commands] Document / type-hint cooldown 2021-08-10 08:35:15 -04:00