Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | make function and message positional only to free up names for kwargs | 2022-09-27 | -0/+1 | |
| | ||||
* | allow user specified function to manipulate cooldown args | 2022-09-19 | -3/+9 | |
| | ||||
* | use more consistent styling | 2022-09-19 | -2/+4 | |
| | ||||
* | type return with tuple | 2022-09-19 | -1/+1 | |
| | | | | | while only iterable is strictly needed, any reader would expect the function to return a tuple | |||
* | use ctx.channel directly | 2022-09-19 | -2/+1 | |
| | ||||
* | get rid of unnecessary check | 2022-09-19 | -4/+1 | |
| | ||||
* | use a clearer name | 2022-09-19 | -3/+3 | |
| | ||||
* | use paramspec from typing | 2022-09-18 | -8/+4 | |
| | | | | the package now requires python 3.10 | |||
* | Merge remote-tracking branch 'upstream/main' into no-duplicate-deco | 2022-09-18 | -41/+196 | |
|\ | ||||
| * | Added comments for regex addition | 2022-08-16 | -1/+1 | |
| | | ||||
| * | Removed redundant capture group | 2022-08-16 | -1/+1 | |
| | | ||||
| * | Unified usage of flags kwarg | 2022-08-16 | -2/+2 | |
| | | ||||
| * | Removed a redundant regex character class | 2022-08-16 | -1/+1 | |
| | | ||||
| * | Added regex for leading https or www | 2022-08-16 | -0/+1 | |
| | | ||||
| * | Remove explicit cleanup of the redis session (#111) | 2022-07-27 | -3/+0 | |
| | | ||||
| * | Bump async-rediscache to v1.0.0-rc2 | 2022-07-27 | -2/+2 | |
| | | ||||
| * | Fix suppressed_exceptions type hint (#112) | 2022-07-26 | -2/+2 | |
| | | | | | | | | The previous type hint expected a tuple with a single exception type instead of a variable length tuple of exception types | |||
| * | Mark aiodns As An Explicit Dependency | 2022-07-23 | -1/+1 | |
| | | | | | | | | | | | | | | aiodns is required by aiohttp when using an AsyncResolver, as is done in BotBase. This makes aiodns a required dependency. Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | Merge remote-tracking branch 'origin/bot-core-100' into bot-core-100 | 2022-07-23 | -1/+100 | |
| |\ | ||||
| | * | Merge branch 'main' into bot-core-100 | 2022-07-23 | -1/+100 | |
| | |\ | ||||
| | | * | Add an optional message attr to ViewWithUserAndRoleCheckv7.4.0 | 2022-07-21 | -2/+14 | |
| | | | | | | | | | | | | | | | | | | | | On view timeout, this message has it's view removed if set. Co-authored-by: Boris Muratov <[email protected]> | |||
| | | * | Fix interactions.DeleteMessageButton not working due to using wrong delete ↵ | 2022-07-16 | -1/+1 | |
| | | | | | | | | | | | | | | | | method. | |||
| | | * | Add a generic view and button | 2022-07-16 | -1/+88 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The view implements an interaction check for allowed_users and allowed_roles. The button deleted the message attached the the parent view on click. | |||
| * | | | Raise error when referenced message has no content | 2022-07-23 | -2/+6 | |
| | | | | ||||
| * | | | Reformat docstring to use Google's style & raise error instead of returning None | 2022-07-23 | -4/+17 | |
| |/ / | ||||
| * | | Add commands.py to __init__.py | 2022-07-15 | -1/+2 | |
| | | | ||||
| * | | Add `clean_text_or_reply` util. | 2022-07-14 | -0/+21 | |
| |/ | ||||
| * | Only close stats._transport if BotBase.stats was created | 2022-07-09 | -1/+1 | |
| | | ||||
| * | Don't try to connect to statsd_url if it's None | 2022-06-30 | -2/+4 | |
| | | ||||
| * | Switch `typing.Hashable` With `Collections.abc.Hashable` | 2022-06-29 | -9/+9 | |
| | | | | | | | | | | | | | | Switches out the Hashable type from the typing library for the generic from collections. Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | Replace Typing Generics | 2022-06-26 | -8/+10 | |
| | | | | | | | | | | | | | | | | Replaces all typing generics with collection equivalents as per PEP 585. `typing.Callable` was not included in this due to a sphinx-autodoc bug not handling it well. Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | Document Create Task Return Type | 2022-06-26 | -2/+5 | |
| | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | Declare Static Method | 2022-06-26 | -1/+2 | |
| | | | | | | | | | | | | | | The `maybe_raise_for_status` function is declared as a class function, but does not need to be so. Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | Fix Incorrect Typehints & Docstrings | 2022-06-26 | -2/+2 | |
| | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | Fix Docstring For Role Change Wrapper Util | 2022-06-26 | -4/+4 | |
| | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | Add Typehints To Typing Patcher | 2022-06-26 | -2/+3 | |
| | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | Clean Up Startup Ping Function | 2022-06-26 | -2/+2 | |
| | | | | | | | | | | | | | | | | The function was missing the self arg, which would lead to an exception at startup for any projects that don't override it. It's also not being awaited despite being an async function. Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | | ensure tuples from pos arg and kwarg tuples are differentiated | 2022-06-21 | -1/+7 | |
| | | ||||
* | | stop cleanup task when manager is destroyed | 2022-06-21 | -1/+7 | |
| | | ||||
* | | generalize handling of fully hashable args, and args with non-hashable parts | 2022-06-21 | -34/+57 | |
| | | ||||
* | | Fix typehint | 2022-06-21 | -3/+3 | |
| | | ||||
* | | Add comment for skipped arguments | 2022-06-21 | -1/+1 | |
| | | ||||
* | | reword docstrings | 2022-06-21 | -13/+10 | |
| | | | | | | | | Co-authored-by: MarkKoz <[email protected]> | |||
* | | Add decorator to block duplicate command invocations in a channel | 2022-06-15 | -1/+186 | |
| | | ||||
* | | port command_wraps/update_wrapper_globals from bot | 2022-06-15 | -1/+118 | |
|/ | ||||
* | Remove Discord `MissingSentinel` | 2022-05-28 | -2/+4 | |
| | | | | | | | | Replaces the access to `discord.utils._MissingSentinel` with a simple boolean flag. This has the benefit of behaving more nicely with our doc generation. Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | Fix Discord Invite Regex Docs | 2022-05-10 | -3/+4 | |
| | | | | Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | Remove trailing whitespace from docstring | 2022-05-10 | -3/+3 | |
| | ||||
* | `DISCORD_INVITE` captures until a whitespace | 2022-05-10 | -1/+5 | |
| | ||||
* | Set BotBase.statsd correctly based on init kwargs | 2022-04-25 | -1/+4 | |
| |