aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | | | | | | Log what func is being ran in the executor.Gravatar Chris2021-02-18-1/+1
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Merge all avatar cogs into one. Also includes some in_executor and ↵Gravatar Chris2021-02-18-411/+337
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | max_concurrency code.
| * | | | | | | | | | | | | | | | | Move gender options to a resource fileGravatar Chris2021-02-18-0/+41
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Add aiofiles dependancyGravatar Chris2021-02-18-3/+13
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | fix: Don't pass bot to __init__Gravatar ToxicKidz2021-05-03-1/+1
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | Merge branch 'spring-cleanup' of https://github.com/ToxicKidz/sir-lancebot ↵Gravatar ToxicKidz2021-04-20-132/+136
| | | | | | | | | | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into spring-cleanup
| | | | | | | | | | | | * | | | | | | chore: ctx.channel.send -> ctx.sendGravatar vcokltfre2021-04-20-14/+14
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | * | | | | | | chore(evergreen): remove unneeded cog constructorsGravatar vcokltfre2021-04-19-34/+4
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | * | | | | | | chore(evergreen): make usage of . at sentence ends consistentGravatar vcokltfre2021-04-19-19/+19
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | * | | | | | | chore(evergreen): format each cog load docstring the same wayGravatar vcokltfre2021-04-19-21/+21
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | * | | | | | | chore: switch commands.Bot typehints to bot.bot's BotGravatar vcokltfre2021-04-19-54/+88
| |_|_|_|_|_|_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | Clean Up Christmas SeasonGravatar ToxicKidz2021-04-20-29/+32
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | * | | | | | | Clean Up the Halloween SeasonGravatar ToxicKidz2021-04-19-230/+216
| |_|_|_|_|_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Change commands.Bot type hints to bot.Bot - Remove the setting of Cog.bot if it isn't being used - Use Bot.http_session instead of creating new ones - Keep string quotes and Doc-Strings consistant - Remove redundant/outdated code Ignored spookyavatar.py as it is being moved in another PR.
* | | | | | | | | | | | | | | | | Merge pull request #673 from janine9vn/int-evalGravatar Matteo Bertucci2021-04-17-0/+435
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding Internal Eval to Sir Lancebot
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into int-evalGravatar Matteo Bertucci2021-04-17-472/+730
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Merge pull request #686 from python-discord/remove-ffmpgGravatar Xithrius2021-04-16-87/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | Remove ffmpg
| * | | | | | | | | | | | | | | | | Remove un-used sound resourcesGravatar Chris2021-04-16-41/+0
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Remove ffmpg and discord.py voice extraGravatar Chris2021-04-16-46/+12
|/ / / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | Remove check for `exit` to reset contextGravatar Janine vN2021-04-12-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes the `exit` check if someone were to use this: `.int e exit` to clear the context. The check would prevent `.int e exit()` from restarting the bot container. With the `.int reset` and `.int exit` ability to clear the context the check for `exit` to clear the context isn't necessary.
| * | | | | | | | | | | | | | | | Add constants for common string filenamesGravatar Janine vN2021-04-12-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a constant for the same filenames used in several locations. Because the now-a-constant string is used in several locations this will allow for it to be updated more easily down the line.
| * | | | | | | | | | | | | | | | Ensure output will be robust for discord markdownGravatar Janine vN2021-04-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added in an extra `\n` at the end of the output. Sometimes discord won't properly format the codeblock in the triple ` is not on a newline. This changes ensures that it should.
| * | | | | | | | | | | | | | | | Change command help formatGravatar Janine vN2021-04-11-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `.int` with nothing else now uses the `invoke_help_command()` utility that formats the help command much more nicely than the default version
| * | | | | | | | | | | | | | | | Update docstring for resetGravatar Janine vN2021-04-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated the docstring for `reset` to provide accurate information as to what the command does.
| * | | | | | | | | | | | | | | | Remove unused codeblock regexGravatar Janine vN2021-04-11-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the regex sufficiently stolen from snekbox and confirmed to work, the original codeblock regex has been removed.
| * | | | | | | | | | | | | | | | Correct logger nameGravatar Janine vN2021-04-11-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the initialization of the logging to pull dynamically so it can actually log correctly.
| * | | | | | | | | | | | | | | | Correct prefix usage in a doctstring Gravatar Janine vN2021-04-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrects the prefix for the a command in the docstring to use Lancebot's prefix. Co-authored-by: Matteo Bertucci <[email protected]>
| * | | | | | | | | | | | | | | | Blind Fixes at LintingGravatar janine9vn2021-04-10-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both my pre-commit and flake8 runs are telling me everything is fine and it's all passed. Github actions is saying otherwise but isn't saying *where*. So here I am with useless linting commits.
| * | | | | | | | | | | | | | | | Removed rogue variableGravatar janine9vn2021-04-10-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm better than this I swear. I can lint before I commit. Don't tell lemon.
| * | | | | | | | | | | | | | | | Update codeblock regexGravatar janine9vn2021-04-10-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The snekbox implementation of the codeblock regex was incorporated. This now correctly parses the `code` and ``code`` markdown discord allows. You can also use multiple code blocks with text interrupting it and it will process the different code blocks as one continuous code block.
| * | | | | | | | | | | | | | | | Change namesGravatar janine9vn2021-04-10-395/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were missed in a previous commit. It's a simple name change from the original files to better align with Sir Lancebot.
| * | | | | | | | | | | | | | | | Realigned to SirLancebot StructureGravatar janine9vn2021-04-09-0/+405
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code for rattlesnakes's internal eval was aligned to Sir Lancebot's structure. It was mostly renaming rattlesnake to bot and changing how some of the imports were setup as. It also included changing the __init__.py to match the Sir Lancebot cog structure. Additionally, the whitelist check has been significantly simplified to only be a role check for the admin role. The rattlesnake implementation had a more robust `in_whitelist` decorator, so it may be worth investigating adding that in if we see fit. For now, it's a simple `with_role` decorator check. The name of the cog file itself was changed to include an underscore to sidestep what I think was a namespace collision that would prevent the setup function from properly running.
| * | | | | | | | | | | | | | | | Add helpers for internal evalGravatar janine9vn2021-04-09-0/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cutting over the rattlesnake helpers specifically for internal_eval. I am mirroring the rattlesnake structure as much as I can initially to ensure basic functionality before migrating functions to fit more within Sir Lancebot's file structure.
| * | | | | | | | | | | | | | | | Cutover of rattlesnake to lancebotGravatar janine9vn2021-04-09-0/+152
| | |_|_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an initial cutover of the rattlesnake internal eval to Sir Lancebot. This commit by itself will not work. This is a simple drop in of rattlesnake code so there is context as to what has changed and why.
| | | | | | | | | | | | | | | * add check for statisticsGravatar Vivaan Parashar2021-04-19-10/+15
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | squish importsGravatar Vivaan Parashar2021-05-13-2/+1
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | change typehint to bot.BotGravatar Vivaan Parashar2021-05-13-2/+3
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | remove redundant quoteGravatar Vivaan Parashar2021-05-13-1/+1
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | change code styleGravatar Vivaan Parashar2021-05-13-9/+13
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | change docstringGravatar Vivaan Parashar2021-05-13-1/+1
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | change mods to staffGravatar Vivaan Parashar2021-05-13-1/+1
| | | | | | | | | | | | | | |/
| | | | | | | | | | | | | | * Update branchGravatar Vivaan Parashar2021-04-15-1012/+2109
| | | | | | | | | | | | | | |\
| | | | | | | | | | | | | | | * Update branchGravatar Vivaan Parashar2021-04-15-1012/+2109
| | | | | | | | | | | | | | | |\ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge pull request #679 from python-discord/vcokltfre/fix/timed-error-helpGravatar Xithrius2021-04-13-3/+11
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix: display help for the correct command when an error occurs in timed
| * | | | | | | | | | | | | | | | fix: display help for the correct command when an error occurs in timedGravatar vcokltfre2021-04-14-3/+11
|/ / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | Merge pull request #681 from python-discord/vcokltfre/feat/pingGravatar Xithrius2021-04-13-0/+27
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feat: add ping command
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into vcokltfre/feat/pingGravatar Xithrius2021-04-13-1/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge pull request #680 from python-discord/laundmo-regex-isssue-patchGravatar Joe Banks2021-04-13-1/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Linebreak to hopefully not run into linter issuesGravatar laundmo2021-04-13-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | editing this from the web version because im at work and this fixes the issue linking being basically unusable
| * | | | | | | | | | | | | | | | | Update issue matching regex Gravatar laundmo2021-04-13-1/+2
|/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes it being unable to get issue numbers larger than 9 limits it somewhat length-wise and character-wise to the actual github limits
| * | | | | | | | | | | | | | | | chore: use discord terminologyGravatar vcokltfre2021-04-13-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]>