aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen (follow)
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into bookmark-react-for-copyGravatar ChrisJL2021-05-13-336/+1572
|\
| * Merge branch 'main' into reddit-revokeGravatar Xithrius2021-05-12-69/+55
| |\
| | * feat: merge ping and uptime cogs (#722)Gravatar vcokltfre2021-05-12-35/+19
| | |
| | * Merge branch 'main' into change-to-fetch-userGravatar Xithrius2021-05-09-93/+332
| | |\
| | * | Update return type hint to reflect new behaviour.Gravatar ChrisJL2021-05-07-1/+1
| | | | | | | | | | | | Co-authored-by: ToxicKidz <[email protected]>
| | * | Correct grammer in the new mosaic command outputGravatar Chris2021-05-07-1/+1
| | | |
| | * | Add the number of squares that were used by .mosaicGravatar Chris2021-05-07-1/+1
| | | | | | | | | | | | | | | | | | | | This is useful for when we round up the number of squares used, users can still see how many were actually used.
| | * | Download avatars as size 1024 to avoid very large avatars affecting infraGravatar Chris2021-05-07-4/+4
| | | |
| | * | Switch from fetch_member to fetch_userGravatar Chris2021-05-07-33/+35
| | | | | | | | | | | | | | | | | | | | This is because discord.py would populate the user portion of the fetched member with cached information which would cause the avatar url not to be updated as we had intended with that function
| * | | Fixes Expected Token Revoke Status CodeGravatar Hassan Abouelela2021-05-10-1/+1
| | |/ | |/|
| * | Pull upstream and resolve conflicts.Gravatar rohan2021-05-10-56/+749
| |\|
| | * fix: Add a missing 'not'Gravatar ToxicKidz2021-05-07-1/+1
| | |
| | * chore: Get the next perfect squareGravatar ToxicKidz2021-05-07-2/+4
| | | | | | | | | | | | If the amount of squares is not a perfect square, get the next highest perfect square
| | * chore: Check if the number of squares first is bigger than the max firstGravatar ToxicKidz2021-05-06-6/+3
| | | | | | | | | Co-authored-by: Anand Krishna <[email protected]>
| | * Merge branch 'main' into feat/mosaic-commandGravatar ToxicKidz2021-05-05-0/+1
| | |\
| | | * chore: Add a 5 second cooldown per user to .catifyGravatar ToxicKidz2021-05-05-0/+1
| | | |
| | * | chore: Use the name AvatarModify instead of PfpModifyGravatar ToxicKidz2021-05-05-1/+1
| | | |
| | * | chore: Prefer double quotes over single quotesGravatar ToxicKidz2021-05-05-9/+9
| | | |
| | * | chore: Fetch the member and use Colours.blue in the embed for the .mosaic ↵Gravatar ToxicKidz2021-05-05-2/+9
| | | | | | | | | | | | | | | | command
| | * | feat: Add the .mosaic commandGravatar ToxicKidz2021-04-30-6/+202
| | |/
| | * fix: remove () from list of safe filename charsGravatar vcokltfre2021-04-30-1/+1
| | |
| | * Merge branch 'main' into Enforce-image-processing-concurrencyGravatar ks1292021-04-30-8/+136
| | |\
| | | * Merge branch 'main' into fix-reddit-index-errorGravatar ChrisJL2021-04-23-1/+5
| | | |\
| | | | * Suppresses Links In CommandsGravatar Hassan Abouelela2021-04-23-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-37/+147
| | |\ \ \
| | * | | | 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-30/+69
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | 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]>