Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Update Discord invite regex to also match backslash before the invite code | 2024-09-11 | -1/+1 | |
| | ||||
* | Ignore ASYNC109 where timeout is used for pagination | 2024-07-25 | -1/+1 | |
| | ||||
* | Correct docstring for ViewWithUserAndRoleCheck | 2024-07-25 | -1/+1 | |
| | ||||
* | Add py.typed (#254) | 2024-07-17 | -0/+0 | |
| | ||||
* | Lint repo with new ruff rules | 2024-03-24 | -3/+4 | |
| | ||||
* | Extract original error upon exceptions, if any (#209) | 2024-03-20 | -0/+1 | |
| | ||||
* | reflect changes in changelog | 2024-03-18 | -0/+6 | |
| | ||||
* | expose a way for registering the command error manager | 2024-03-18 | -0/+12 | |
| | | | | The manager instance needs to be bound "late" due to the bot since error handlers might need an instance of bot to work | |||
* | subclass CommandTree | 2024-03-18 | -0/+19 | |
| | | | | this subclass will be calling the error manager upon error | |||
* | register all error handlers in the CommandErrorManager class | 2024-03-18 | -1/+60 | |
| | | | | The purpose is to register the handlers in one place, which will allow us to delegate the choosing of the right handler & handling to the manager | |||
* | add the AbstractCommandErrorHandler interface | 2024-03-18 | -0/+27 | |
| | | | | this represents an interface that all command handlers will need to implement in order to be able to use them in both app & text command errors | |||
* | make error_handling a package | 2024-03-18 | -0/+0 | |
| | | | | This also moves the handle_forbidden_from_block util to the package's ctor to ensure backwards compat | |||
* | Update ruff to target Python 3.11 | 2024-03-18 | -9/+8 | |
| | ||||
* | Drop support for Python 3.10 | 2024-03-18 | -3/+1 | |
| | ||||
* | Drop support for Pydantic 1.X | 2024-03-04 | -1/+1 | |
| | ||||
* | ruff lint fix: Breaking changes to make bool args kwarg-only | 2024-03-04 | -3/+5 | |
| | ||||
* | ruff lint fix: Manual non-breaking changes | 2024-03-04 | -20/+21 | |
| | ||||
* | ruff lint fix: Run remaining auto-fixable rules | 2024-03-04 | -11/+12 | |
| | ||||
* | document the instance attributes of BotBase | 2024-02-18 | -1/+14 | |
| | ||||
* | Add lock utils | 2024-01-30 | -1/+250 | |
| | | | | | | | This includes some additional function utils too. Co-authored-by: Numerlor <[email protected]> Co-authored-by: MarkKoz <[email protected]> | |||
* | Satisfy new ruff linting rules | 2024-01-30 | -2/+2 | |
| | ||||
* | Add the a user_has_access helper function to interactions module. | 2024-01-30 | -12/+26 | |
| | | | | This returns whether the given user is in the allowed_users list, or has a role from allowed_roles. | |||
* | adhere to google docstrings stylev10.6.0 | 2024-01-30 | -18/+51 | |
| | ||||
* | export checks module from the utils package | 2024-01-30 | -0/+2 | |
| | ||||
* | port all checks from sir-lancebot and bot | 2024-01-30 | -0/+187 | |
| | ||||
* | expose the pagination utils from the pydis_core package | 2024-01-05 | -7/+15 | |
| | ||||
* | port LinePaginator and `PaginationEmojis` into the pagination module. | 2024-01-04 | -4/+400 | |
| | | | | This will allow their reusability in all other bots | |||
* | port reaction_check in a new `messages` util | 2024-01-04 | -0/+48 | |
| | | | | This is because it's a component that can be reused by all bots. | |||
* | Do not attempt to read response body if the HTTP response code is 204.v10.5.1 | 2023-12-14 | -23/+11 | |
| | ||||
* | Lint repo to latest ruff rules | 2023-11-27 | -2/+0 | |
| | ||||
* | Update ruff config to enable unsafe and preview rules | 2023-10-26 | -1/+1 | |
| | ||||
* | Set various loggers to suitable default levelsv10.3.0 | 2023-09-20 | -0/+7 | |
| | | | | These levels were pulled from bot's current logging setup | |||
* | Add log_format to the logging util to allow for standardised logging | 2023-09-20 | -0/+6 | |
| | ||||
* | Lint repo with new ruff rules | 2023-08-28 | -2/+13 | |
| | ||||
* | fixup: Update BotBase.process_commands docstring to be more explicit | 2023-07-25 | -1/+5 | |
| | ||||
* | Add BotBase.wait_until_bot_started which can be used to hold a process until ↵ | 2023-07-25 | -0/+6 | |
| | | | | all extensions are loaded. | |||
* | fixup: correct docstring wording in paste_service | 2023-07-20 | -1/+1 | |
| | ||||
* | Add type hints to paste_service pydantic models | 2023-07-14 | -5/+5 | |
| | ||||
* | Support sending multiple files to paste service at once | 2023-07-14 | -22/+36 | |
| | | | | Co-authored-by: Hassan Abouelela <[email protected]> | |||
* | Update code for new linter rules | 2023-07-14 | -1/+8 | |
| | ||||
* | Update get_or_fetch_channel's return type (#187) | 2023-07-10 | -1/+4 | |
| | | | | | | | * update get_or_fetch_channel's return type * unindent overly indented signature * update changelog | |||
* | Update expiry label from 1 month to 30 days (#185)v9.9.2 | 2023-07-02 | -1/+1 | |
| | | | Since there isn't 1 true answer to how many seconds are in 1 month, making it 30 days is just easier. | |||
* | Add supported lexer validation to paste service and default the paste_url (#182)v9.9.0 | 2023-06-21 | -4/+31 | |
| | ||||
* | Bump d.py (#181)v9.8.0 | 2023-06-14 | -1/+1 | |
| | | | | | * Bump d.py to 2.3.0 * Linting fixes for new ruff version | |||
* | Handle discord.Forbidden 90001 errors by default in `create_task()` (#177)v9.7.0 | 2023-06-10 | -7/+54 | |
| | | | Co-authored-by: Chris Lovering <[email protected]> | |||
* | Add paste service utility (#179) | 2023-06-10 | -1/+115 | |
| | ||||
* | lint: fix typo (#180) | 2023-06-05 | -1/+1 | |
| | ||||
* | Apply fixes for ruff linting | 2023-05-31 | -63/+51 | |
| | ||||
* | Log when waiting for a guild before loading extensions | 2023-05-06 | -0/+3 | |
| | ||||
* | Explicitly set the stack level of the warnings.warn call | 2023-03-02 | -1/+1 | |
| | | | | The warn method from the warnings module uses a stacklevel of 1 by default. This will only show a stack trace for the line on which the warn method is called. It is therefore recommended to use a stacklevel of 2 or greater to provide more information to the user. |