aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts (follow)
Commit message (Collapse)AuthorAgeLines
* fix: Resolve Merge ConflictsGravatar ToxicKidz2021-05-03-419/+552
|\
| * fix: remove () from list of safe filename charsGravatar vcokltfre2021-04-30-1/+1
| |
| * Merge branch 'main' into Enforce-image-processing-concurrencyGravatar ks1292021-04-30-27/+582
| |\
| | * Merge branch 'main' into fix-reddit-index-errorGravatar ChrisJL2021-04-23-2/+8
| | |\
| | | * Suppresses Links In CommandsGravatar Hassan Abouelela2021-04-23-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | Suppresses links in certain commands that can echo back user input. Signed-off-by: Hassan Abouelela <[email protected]>
| | * | Fix spelling of a user facing message in reddit cogGravatar ChrisJL2021-04-23-1/+1
| | | | | | | | | | | | Co-authored-by: Xithrius <[email protected]>
| | * | Fix errors when a subreddit has <5 posts.Gravatar Chris2021-04-22-2/+2
| | |/ | | | | | | | | | | | | | | | If a subreddit has <2 posts, the posts[1] check would fail with an IndexError. If the subreddit had less that 5 posts, then the k=5 check would also error. These changes harden the command for these edge cases.
| | * chore: use 'nickname' and 'display name' in the right places and use ↵Gravatar ToxicKidz2021-04-20-2/+5
| | | | | | | | | | | | allowed_mentions
| | * fix: Use name.replace not text.replaceGravatar ToxicKidz2021-04-20-3/+3
| | |
| | * chore: lower the input to fine more catsGravatar ToxicKidz2021-04-20-3/+4
| | |
| | * chore: Fix UnboundLocalError and discord.ForbiddenErrors in the catify commandGravatar ToxicKidz2021-04-20-17/+21
| | |
| | * Add Catify command (#694)Gravatar Dillon Runke2021-04-20-0/+78
| | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]> Co-authored-by: hypergamer80 <[email protected]>
| * | Add non-underscore aliases for lazy people like me :)Gravatar Chris2021-04-30-1/+1
| | |
| * | Consistant use of double quotes and tuples in avatar_mod cogGravatar Chris2021-04-30-11/+10
| | |
| * | Rename pfp_modify cog and group to avatar_mod for clarityGravatar Chris2021-04-30-10/+10
| | | | | | | | | | | | Added in aliases for ease of use too.
| * | Escape invalid filename chars before saving.Gravatar Chris2021-04-22-16/+24
| | | | | | | | | | | | | | | This would cause an issue with the embed not embedding the image due to a filename mismatch. This has been implemented by escaping all invalid filename characters before saving the file.
| * | Fix captitilization in docstringGravatar Chris2021-04-17-1/+1
| | | | | | | | | | | | Co-authored-by: LXNN <[email protected]>
| * | Merge branch 'main' into Enforce-image-processing-concurrencyGravatar Chris2021-04-12-129/+298
| |\ \
| * | | Request the pfp as the right size from discordGravatar Chris2021-04-12-1/+1
| | | |
| * | | Merge branch 'main' into Enforce-image-processing-concurrencyGravatar Chris2021-04-11-38/+162
| |\ \ \
| * | | | Ensure to await ctx.send() callsGravatar Chris2021-04-08-4/+4
| | | | |
| * | | | Refactor pfp cog to remove unnecessary params and callsGravatar ChrisJL2021-04-08-3/+3
| | | | | | | | | | | | | | | Co-authored-by: ToxicKidz <[email protected]>
| * | | | Fetch member before modifying their pfpGravatar Chris2021-04-05-14/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do this as the member cache may have an outdated version of their pfp, which can lead to errors if it's removed from the Discord CDN. Co-authored-by: vcokltfre <[email protected]>
| * | | | Don't close bot's http session when getting imageGravatar Chris2021-03-21-13/+11
| | | | |
| * | | | Imrpoves docstrings within the profile pic modification functionsGravatar Chris2021-03-14-7/+19
| | | | |
| * | | | Pull the function signature back onto one line for readibilityGravatar Chris2021-03-14-5/+1
| | | | |
| * | | | Remove unnecessary lambda in when getting closest colourGravatar Chris2021-03-14-1/+1
| | | | |
| * | | | Remove aiofiles depGravatar Chris2021-03-14-10/+6
| | | | |
| * | | | Merge remote-tracking branch 'origin/main' into ↵Gravatar Chris2021-03-14-45/+87
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Enforce-image-processing-concurrency
| * | | | | Use new help command extGravatar Chris2021-03-13-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since sir-lancebot#625 was merged, we now have bot.utils.extensions.invoke_help_command which sends a nicely formatted help embed.
| * | | | | Use user reference passed via command Gravatar ChrisJL2021-03-13-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The command takes in user as argument but doesn't use it while converting the image into bytes. Co-authored-by: Shivansh-007 <[email protected]>
| * | | | | Fix filename for spooky effect avatarsGravatar Chris2021-03-11-1/+1
| | | | | |
| * | | | | Defer errors in pride image to error handlerGravatar Chris2021-03-11-4/+3
| | | | | |
| * | | | | Use a more specific filename for avatar modifiying commandsGravatar Chris2021-03-11-9/+39
| | | | | |
| * | | | | Remove double assignment of a variableGravatar Chris2021-03-10-1/+1
| | | | | |
| * | | | | Improve docstring and split line for readibilityGravatar Chris2021-03-10-2/+8
| | | | | |
| * | | | | Move colours to constantsGravatar Chris2021-03-10-6/+2
| | | | | |
| * | | | | Split up complex line.Gravatar Chris2021-03-06-1/+4
| | | | | |
| * | | | | Remove superfluous str cast.Gravatar Chris2021-03-06-1/+1
| | | | | |
| * | | | | Don't return discord.Messages.Gravatar Chris2021-03-06-3/+8
| | | | | |
| * | | | | Fix return type of in_executor. Its return type varies, based on the ↵Gravatar Chris2021-03-06-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Callable given.
| * | | | | Convert method to static as it doesn't use class attributes.Gravatar Chris2021-03-06-1/+1
| | | | | |
| * | | | | Improve readibility of code, and fix grammar issues.Gravatar Chris2021-03-06-19/+23
| | | | | |
| * | | | | Rename in_thread fuction for clarity.Gravatar Chris2021-03-05-5/+5
| | | | | |
| * | | | | Merge branch 'master' into Enforce-image-processing-concurrencyGravatar ChrisJL2021-03-05-96/+627
| |\ \ \ \ \
| * | | | | | Improve doc string.Gravatar Chris2021-02-22-1/+5
| | | | | | |
| * | | | | | Don't return discord.Message from ctx.send callsGravatar Chris2021-02-20-2/+4
| | | | | | |
| * | | | | | Hoist apply effect and remove private _.Gravatar Chris2021-02-20-16/+17
| | | | | | |
| * | | | | | Split effects from cogGravatar Chris2021-02-20-125/+133
| | | | | | |
| * | | | | | Share common code.Gravatar Chris2021-02-19-117/+122
| | | | | | |