aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
* chore: Don't make content an empty stringGravatar ToxicKidz2021-05-04-1/+1
| | | Co-authored-by: Matteo Bertucci <[email protected]>
* chore: Don't return a Message object when the return annotation is NoneGravatar ToxicKidz2021-05-03-18/+34
|
* chore: End the sentence with a periodGravatar ToxicKidz2021-05-03-1/+1
|
* Clean Up the Easter SeasonGravatar ToxicKidz2021-05-03-35/+33
| | | | | | - Keep Consistent setup docstrings - Type hint to bot.Bot instead of commands.Bot - Don't set Cog.bot if it isn't used
* chore: Clean Up the Valentines SeasonGravatar ToxicKidz2021-05-03-33/+30
| | | | | | - Change commands.Bot type hints to bot.Bot - Remove the setting of Cog.bot if it isn't being used - Change ctx.author -> ctx.message.author
* fix: Resolve Merge ConflictsGravatar ToxicKidz2021-05-03-420/+715
|\
| * fix: remove () from list of safe filename charsGravatar vcokltfre2021-04-30-1/+1
| |
| * Merge branch 'main' into Enforce-image-processing-concurrencyGravatar ks1292021-04-30-202/+726
| |\
| | * Updated bot/utils/exceptions.pyGravatar Salil Chincholikar2021-04-27-1/+1
| | | | | | | | | Co-authored-by: Joe Banks <[email protected]>
| | * Reworded/fixed grammatical errorGravatar Salil Chincholikar2021-04-27-1/+1
| | |
| | * Merge branch 'main' into fix-reddit-index-errorGravatar ChrisJL2021-04-23-2/+16
| | |\
| | | * 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]>
| | | * Adds Link Suppressing HelperGravatar Hassan Abouelela2021-04-23-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Adds a helper to find and escape links in a message. 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/+83
| | | | | | | | | | | | 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]>
| * | Silence matplotlib's loggerGravatar Chris2021-04-12-0/+1
| | |
| * | Merge branch 'main' into Enforce-image-processing-concurrencyGravatar Chris2021-04-12-138/+300
| |\ \
| * | | 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-46/+206
| |\ \ \
| * | | | 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/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-79/+190
| |\ \ \ \ | | | | | | | | | | | | | | | | | | 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
| | | | | |
| * | | | | Merge branches 'Enforce-image-processing-concurrency' and ↵Gravatar Chris2021-03-11-2/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 'Enforce-image-processing-concurrency' of github.com:python-discord/sir-lancebot into Enforce-image-processing-concurrency
| | * | | | | Update docstring to refer to groups rather than commandsGravatar ChrisJL2021-03-11-2/+2
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: Shivansh-007 <[email protected]>
| * | | | | | 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/+18
| | | | | |
| * | | | | Split up complex line.Gravatar Chris2021-03-06-1/+4
| | | | | |
| * | | | | Remove superfluous str cast.Gravatar Chris2021-03-06-1/+1
| | | | | |