aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_core (follow)
Commit message (Collapse)AuthorAgeLines
* Update in_whitelist_check to check against the parent channel, if one existsv11.8.0Gravatar Chris Lovering2025-09-18-3/+12
|
* Update Regex to include Discord protocol format (#304)Gravatar Joe Banks2025-08-10-2/+4
| | | | | | | | | | | | | Chris is traveling abroad and is unable to access. Therefore, Fisher have become his proxy. An 'apprentice' if you will. Shame because Fisher have years more software engineering experience compared to him. Unfortunately, neither Fisher nor Chris cared to separate the version bump into a separate commit so SENIOR Engineer Joe Banks to JUNIOR Engineer Chris Lovering with INTERN Fisher has had to Get Involved. Co-authored-by: ChrisLovering <[email protected]> Co-authored-by: fisher60 <[email protected]>
* Update discord invite regexGravatar Janine vN2025-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 linksGravatar Chris Lovering2024-11-23-2/+2
|
* Escape backslashes in invite regexGravatar Chris Lovering2024-11-23-1/+1
|
* Drop io and li from invite regexGravatar Chris Lovering2024-11-23-1/+1
| | | | These TLDs no longer work
* Update filter regex to not be overly strictGravatar Chris Lovering2024-11-23-2/+4
| | | | Co-authored-by: bj0key <[email protected]>
* Remove repetition from the invite regexGravatar Chris Lovering2024-10-17-7/+2
|
* Move discord(app) capture to its own optional group in invite regexGravatar Chris Lovering2024-10-17-6/+6
|
* Add optional 'app' capture to invite regex OR groupGravatar Chris Lovering2024-10-17-6/+5
|
* Improve readability of invite regex by indenting the large OR groupGravatar Chris Lovering2024-10-17-8/+10
|
* Drop / from invite regex fragementsGravatar Chris Lovering2024-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 codeGravatar Chris Lovering2024-09-11-1/+1
|
* Ignore ASYNC109 where timeout is used for paginationGravatar Chris Lovering2024-07-25-1/+1
|
* Correct docstring for ViewWithUserAndRoleCheckGravatar Chris Lovering2024-07-25-1/+1
|
* Add py.typed (#254)Gravatar decorator-factory2024-07-17-0/+0
|
* Lint repo with new ruff rulesGravatar Chris Lovering2024-03-24-3/+4
|
* Extract original error upon exceptions, if any (#209)Gravatar Amrou Bellalouna2024-03-20-0/+1
|
* reflect changes in changelogGravatar shtlrs2024-03-18-0/+6
|
* expose a way for registering the command error managerGravatar shtlrs2024-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 CommandTreeGravatar shtlrs2024-03-18-0/+19
| | | | this subclass will be calling the error manager upon error
* register all error handlers in the CommandErrorManager classGravatar shtlrs2024-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 interfaceGravatar shtlrs2024-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 packageGravatar shtlrs2024-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.11Gravatar Chris Lovering2024-03-18-9/+8
|
* Drop support for Python 3.10Gravatar Chris Lovering2024-03-18-3/+1
|
* Drop support for Pydantic 1.XGravatar Chris Lovering2024-03-04-1/+1
|
* ruff lint fix: Breaking changes to make bool args kwarg-onlyGravatar Chris Lovering2024-03-04-3/+5
|
* ruff lint fix: Manual non-breaking changesGravatar Chris Lovering2024-03-04-20/+21
|
* ruff lint fix: Run remaining auto-fixable rulesGravatar Chris Lovering2024-03-04-11/+12
|
* document the instance attributes of BotBaseGravatar shtlrs2024-02-18-1/+14
|
* Add lock utilsGravatar Chris Lovering2024-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 rulesGravatar Chris Lovering2024-01-30-2/+2
|
* Add the a user_has_access helper function to interactions module.Gravatar Chris Lovering2024-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.0Gravatar shtlrs2024-01-30-18/+51
|
* export checks module from the utils packageGravatar shtlrs2024-01-30-0/+2
|
* port all checks from sir-lancebot and botGravatar shtlrs2024-01-30-0/+187
|
* expose the pagination utils from the pydis_core packageGravatar shtlrs2024-01-05-7/+15
|
* port LinePaginator and `PaginationEmojis` into the pagination module.Gravatar shtlrs2024-01-04-4/+400
| | | | This will allow their reusability in all other bots
* port reaction_check in a new `messages` utilGravatar shtlrs2024-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.1Gravatar Chris Lovering2023-12-14-23/+11
|
* Lint repo to latest ruff rulesGravatar Chris Lovering2023-11-27-2/+0
|
* Update ruff config to enable unsafe and preview rulesGravatar Chris Lovering2023-10-26-1/+1
|
* Set various loggers to suitable default levelsv10.3.0Gravatar Chris Lovering2023-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 loggingGravatar Chris Lovering2023-09-20-0/+6
|
* Lint repo with new ruff rulesGravatar Chris Lovering2023-08-28-2/+13
|
* fixup: Update BotBase.process_commands docstring to be more explicitGravatar Chris Lovering2023-07-25-1/+5
|
* Add BotBase.wait_until_bot_started which can be used to hold a process until ↵Gravatar Chris Lovering2023-07-25-0/+6
| | | | all extensions are loaded.
* fixup: correct docstring wording in paste_serviceGravatar Chris Lovering2023-07-20-1/+1
|
* Add type hints to paste_service pydantic modelsGravatar Chris Lovering2023-07-14-5/+5
|