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
6cb0737dfe
Fix non-slash command interactions
2021-09-04 10:59:42 +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
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
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
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
Willy
fa5a2188bb
Copy docs from Client.close() to Bot.close()
2021-08-20 20:06:51 -04:00
Josh
f3cb197429
[commands][types] Type hint commands-ext
2021-08-19 19:51:26 -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
Rapptz
f56543df15
[commands] Remove function call indirection when checking author
2021-05-25 20:53:44 -04:00
Tari
36cf3c94b4
[commands] Remove Bot.self_bot
2021-05-25 20:46:26 -04:00
Josh
3864fb37a0
Fix various reference issues in documentation
...
Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com>
2021-05-06 07:51:07 -04:00
Sebastian Law
4134a17a29
[commands] Raise error when a cog name is already registered
2021-04-08 22:04:10 -04:00
Rapptz
99fc950510
Use f-strings in more places that were missed.
2021-04-08 06:02:47 -04:00
pikaninja
1c553f51fb
[commands] Use has_error_handler instead in command_error
2021-04-07 23:42:52 -04:00
Nadir Chowdhury
89456022cf
Add __all__
to remaining modules
2021-04-07 02:30:32 -04:00
Rapptz
9d39b135f4
Modernize code to use f-strings
...
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
2021-04-04 07:03:53 -04:00
Rapptz
862d509d2e
[commands] Add support for stripping whitespace after the prefix
...
This is configured with the strip_after_prefix option in `Bot.__init__`
2021-03-28 21:21:09 -04:00
Nadir Chowdhury
63ec23bac2
Code optimisations and refactoring via Sourcery
2021-02-24 21:26:51 -05:00
Kaylynn Morgan
1cbc537734
[commands] Allow relative paths when handling extensions
2021-02-23 03:29:04 -05:00
Nihaal Sangha
69bdc3a184
Change copyright year to present
2021-01-15 05:28:11 -05:00
Nadir Chowdhury
6b803acde4
[chore] Remove redundant imports
...
This also removes the historical patch for NullHandler implemented in bbf1c54, as it has been available since Python 3.1.
2020-11-28 03:16:49 -05:00
Jaime Garcia Jr
1c3b0c02f8
Add revisions to check_once docs
2020-07-24 09:18:42 -05:00
Sebastian Law
b4b953bfc6
Fix various inconsistencies within the documentation ( #5067 )
2020-06-28 03:45:58 -04:00
Rapptz
874c2cd3c9
[commands] Raise CheckFailure if all bot "check once" fail
...
Fix #2643
2020-04-06 21:45:16 -04:00
Karthikeyan Singaravelan
25b8adc404
Import ABC from collections.abc instead of collections
...
This is for Python 3.9 compatibility.
2020-01-25 21:46:33 -05:00
Harmon
6f9793fe5e
Fixes and improvements for v1.3 documentation
...
* Add missing versionadded strings for v1.3
* Add missing versionchanged string for Message.edit
* Consistently use versionadded for attributes
* Consistently use versionchanged for parameters
* Use versionchanged for Bot.is_owner
* Fix references in v1.3 changelog
* Improve grammar in v1.3 changelog
2020-01-22 23:55:05 -05:00