aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils (follow)
Commit message (Collapse)AuthorAgeLines
* Remove unused utils fileGravatar Janine vN2022-11-28-47/+0
| | | | These utils were only used in the AoC cog.
* Use extension utils from bot-coreGravatar Chris Lovering2022-09-21-45/+0
|
* Remove reference to no longer used EmptyEmbed varGravatar Chris Lovering2022-09-21-2/+1
|
* Merge branch 'main' into fix-whitelist-inheritanceGravatar ChrisJL2022-09-18-5/+1
|\
| * Fix typehintGravatar Izan2022-09-06-5/+1
| |
* | Merge branch 'main' into fix-whitelist-inheritanceGravatar ChrisJL2022-09-18-4/+85
|\|
| * Help command fix, normalize suggestions for unknown commands (#1064)Gravatar Rohan Reddy Alleti2022-08-18-0/+11
| | | | | | Co-authored-by: Xithrius <[email protected]>
| * Add error handling to get_discord_messageGravatar AbooMinister252022-08-09-1/+5
| |
| * Refactored get_discord_message to not unnecessarily log, and cleaned up ↵Gravatar AbooMinister252022-08-08-6/+2
| | | | | | | | uwu_command
| * Refactored methods _get_discord_message, _get_text_and_embed, and ↵Gravatar AbooMinister252022-08-08-1/+71
| | | | | | | | _convert_embed into bot/utils/messages.py
| * Allow `.src` in dev-contrib and community-meta (#1033)Gravatar TizzySaurus2022-02-20-3/+3
| |
* | Remove unnecessary hasattr checkGravatar wookie1842022-09-17-1/+1
| |
* | Split comment over lines evenlyGravatar wookie1842022-09-17-2/+2
| |
* | Apply suggestions from code reviewGravatar arl2022-07-09-1/+1
| |
* | minor: remove print debugging statementGravatar onerandomusername2022-01-12-1/+0
| |
* | fix: subcommands inherit their parent's whitelistGravatar onerandomusername2022-01-12-6/+22
|/ | | | | solves issue with adding decorator to the parent which wouldn't apply to the children
* Merge branch 'main' into dm-checkGravatar ChrisJL2022-01-01-10/+54
|\
| * Raise error when bot can't modify the given role in member helper utilGravatar Chris Lovering2021-12-29-1/+1
| |
| * Add member util functionsGravatar Chris2021-12-28-0/+47
| | | | | | | | This adds some useful utils, get_or_fetch and handle role change. These utils handle errors themselves, so can simplify implementations within the commands.
| * feat: implement moving commandsGravatar onerandomusername2021-12-03-0/+7
| | | | | | | | add exceptions and handler for commands that move locations
| * Remove unnecessary edits during paginationGravatar aru2021-11-20-10/+0
| | | | | | | | pick 3cd4c92b1e24c8cfdae8c5c68c19607c62cc01ed from python-discord/bot remove additional unnecessary edit
* | Add Better Support For Whitelisting DM CommandsGravatar Hassan Abouelela2021-11-21-10/+17
|/ | | | | | | | | Adds a toggle to the whitelist override, to allow explicit enabling of a command in DMs, and sets the default to False. Removes redundant `guild_only` decorators. Signed-off-by: Hassan Abouelela <[email protected]>
* Isort: give the codebase a sortGravatar Matteo Bertucci2021-10-22-10/+2
|
* Update rogue paths to new pathsGravatar Janine vN2021-09-05-3/+3
|
* Removed None return annotation for any __init__Gravatar Xithrius2021-09-01-2/+2
|
* Union item with None to Optional with item.Gravatar Xithrius2021-09-01-4/+4
|
* Fix type annotationsGravatar decorator-factory2021-08-31-29/+35
|
* Merge branch 'main' into pr/wikipediaissueGravatar Xithrius2021-08-23-3/+3
|\
| * Modify code to comply with new linter error N818Gravatar wookie1842021-08-06-3/+3
| |
* | Adjust spacing in the Wikipedia CogGravatar D0rs4n2021-08-20-1/+1
| | | | | | Co-authored-by: Bluenix <[email protected]>
* | Improve code consistency and spacing in the Wikipedia CogGravatar D0rs4n2021-08-17-1/+1
| |
* | Improve code consitency in Wikipedia Cog,Exceptions, and Error handlerGravatar D0rs4n2021-08-08-3/+6
| |
* | Refactor wiki_request, add External API related error,-handlerGravatar D0rs4n2021-08-02-0/+10
|/ | | | | - Refactor wiki_request in the Wikipedia Cog, remove unnecessary else statements. - Add ExternalAPIError, and a handler for this Exception into error_handler
* Allow commands in code jam team channelsGravatar wookie1842021-07-06-0/+5
|
* Type hint optional parameterGravatar ChrisJL2021-05-16-1/+1
| | | Co-authored-by: ToxicKidz <[email protected]>
* Bump d.py to 1.7.2Gravatar Chris2021-05-16-4/+15
| | | | | | | d.py 1.5.1 depending on multidict, which needs gcc installed. Bumping d.py to 1.7.2 removes the need fo rbuild tools in the image. d.py 1.7 introduced the line sep are on the paginator, so this needs to be added to our linepaginator subclass.
* fix: Resolve merge conflicts againGravatar ToxicKidz2021-05-15-2/+1
|\
* | chore: Reformat bot/utils/__init__.pyGravatar ToxicKidz2021-05-15-6/+10
| |
* | chore: Refactor more code to follow our style guideGravatar ToxicKidz2021-05-14-13/+28
| |
* | fix: Resolve Merge ConflictsGravatar ToxicKidz2021-05-10-3/+51
|\|
| * Pull upstream and resolve conflicts.Gravatar rohan2021-05-10-1/+9
| |\
| * | Fix Bug:Paginated embed image gets carried to next pageGravatar Rohan2021-04-20-3/+3
| | |
| * | Merge branch 'main' into reddit_migrationGravatar Rohan Reddy Alleti2021-04-15-49/+172
| |\ \
| * | | Add sub_clyde utility function.Gravatar Rohan2020-12-02-0/+19
| | | |
| * | | Add Subreddit converter.Gravatar Rohan2020-12-02-1/+31
| | | |
* | | | fix: Use str.isdecimal instead of str.isdigitGravatar ToxicKidz2021-05-09-4/+4
| | | |
* | | | chore: Add all of the converters into bot/utils/converters.pyGravatar ToxicKidz2021-05-05-3/+74
| | | |
* | | | chore: Replace the remaining double quotes with double quotesGravatar ToxicKidz2021-05-04-1/+1
| | | |
* | | | chore: Prefer double quotes over single quotesGravatar ToxicKidz2021-05-04-21/+21
| | | |
* | | | chore: Don't return a Message object when the return annotation is NoneGravatar ToxicKidz2021-05-03-4/+6
| |_|/ |/| |