Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Update discord invite regex | 2025-07-13 | -1/+1 | |
| | | | Allows for more than one `\` that occurs before the invite code, which is apparently valid. | |||
* | Ensure we don't match to non-invite looking links | 2024-11-23 | -2/+2 | |
| | ||||
* | Escape backslashes in invite regex | 2024-11-23 | -1/+1 | |
| | ||||
* | Drop io and li from invite regex | 2024-11-23 | -1/+1 | |
| | | | | These TLDs no longer work | |||
* | Update filter regex to not be overly strict | 2024-11-23 | -2/+4 | |
| | | | | Co-authored-by: bj0key <[email protected]> | |||
* | Remove repetition from the invite regex | 2024-10-17 | -7/+2 | |
| | ||||
* | Move discord(app) capture to its own optional group in invite regex | 2024-10-17 | -6/+6 | |
| | ||||
* | Add optional 'app' capture to invite regex OR group | 2024-10-17 | -6/+5 | |
| | ||||
* | Improve readability of invite regex by indenting the large OR group | 2024-10-17 | -8/+10 | |
| | ||||
* | Drop / from invite regex fragements | 2024-10-17 | -5/+6 | |
| | | | | There is already a fragment that captures slashes further down in the regex | |||
* | 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 | |
| |