aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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.
* Merge pull request #666 from onerandomusername/remove-topicGravatar ks1292021-04-09-1/+0
|\ | | | | Remove topic that doesn't make sense in discord
| * Remove topic that doesn't make sense in discordGravatar onerandomusername2021-04-08-1/+0
|/ | | Removed the `Name one thing you like about a person to your right.` topic as it doesn't make sense in discord
* Merge pull request #637 from python-discord/dependabot/pip/pyyaml-5.4Gravatar Xithrius2021-04-08-90/+101
|\ | | | | Bump pyyaml from 5.3.1 to 5.4
| * Bump pyyaml from 5.3.1 to 5.4Gravatar dependabot[bot]2021-04-08-90/+101
|/ | | | | | | | Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4. - [Release notes](https://github.com/yaml/pyyaml/releases) - [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES) - [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4) Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #657 from python-discord/vcokltfre-avatarGravatar Xithrius2021-04-06-1/+2
|\ | | | | fix: use get_user in 8bitify to avoid events issues
| * Merge branch 'main' into vcokltfre-avatarGravatar Xithrius2021-04-06-1/+1
| |\ | |/ |/|
* | Merge pull request #658 from python-discord/ks123/ghcr-token-to-githubGravatar ks1292021-04-05-1/+1
|\ \ | | | | | | Migrate GHCR_TOKEN -> GITHUB_TOKEN in Docker build action
| * | Migrate GHCR_TOKEN -> GITHUB_TOKEN in Docker build actionGravatar ks1292021-04-05-1/+1
|/ / | | | | GITHUB_TOKEN has now enough permissions to be used for pushing to GHCR, so we don't need PAT anymore.
| * fix: use api fetch not cache getGravatar vcokltfre2021-04-05-1/+1
| |
| * fix: use get_user in 8bitify to avoid events issuesGravatar vcokltfre2021-04-05-1/+2
|/
* Merge pull request #577 from ChrisLovering/Handle-DMChannelsGravatar Joe Banks2021-04-03-5/+52
|\
| * Merge branch 'main' into Handle-DMChannelsGravatar Joe Banks2021-04-03-164/+162
| |\ | |/ |/|
* | Merge pull request #632 from ToxicKidz/github-repo-commandGravatar Joe Banks2021-03-31-33/+110
|\ \
| * \ Merge branch 'main' into github-repo-commandGravatar Joe Banks2021-03-31-131/+52
| |\ \ | |/ / |/| |
* | | Merge pull request #650 from python-discord/akarys/new-policy-documentGravatar Joe Banks2021-03-31-124/+8
|\ \ \ | | | | | | | | Update our policy documents
| * | | Update our policy documentsGravatar Matteo Bertucci2021-03-31-124/+8
|/ / /
* | | Merge pull request #648 from python-discord/missing-commasGravatar Matteo Bertucci2021-03-30-3/+3
|\ \ \ | | | | | | | | Add missing commas to april_fools_vids.json
| * | | Add missing commas to april_fools_vids.jsonGravatar Matteo Bertucci2021-03-30-3/+3
|/ / / | | | | | | #639 left the json file in a broken state, not letting the bot start.
* | | Merge pull request #639 from NeilShah2026/patch-1Gravatar Joe Banks2021-03-30-0/+12
|\ \ \ | | | | | | | | Added 3 More Elements To The Json
| * \ \ Merge branch 'main' into patch-1Gravatar Neil Shah2021-03-30-1/+24
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #644 from python-discord/more-topicsGravatar Boris Muratov2021-03-29-1/+24
|\ \ \ \ | | | | | | | | | | Added more topics.
| * | | | Add more game dev topicsGravatar Boris Muratov2021-03-29-0/+4
| | | | |
| * | | | Added more topics.Gravatar Xithrius2021-03-28-1/+20
|/ / / /
| * / / Added 3 More Elements To The JsonGravatar Neil Shah2021-03-26-0/+12
|/ / /
* | | Merge pull request #635 from python-discord/remove-broken-linkGravatar Matteo Bertucci2021-03-25-4/+0
|\ \ \ | | | | | | | | Remove broken link from the April fool collection
| * \ \ Merge branch 'main' into remove-broken-linkGravatar Matteo Bertucci2021-03-25-2/+8
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #633 from ↵Gravatar ks1292021-03-25-2/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | python-discord/reduce-channels-output-in-error-embed Only output override channels & bot commands channel on whitelist error
| * | | | Replace list comp with a set update + sequenceGravatar Chris2021-03-21-1/+1
| | | | |
| * | | | Only output override channels & bot commands channel on whitelist errorGravatar Chris2021-03-20-1/+7
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously this would output all channels, and could result in an error. This change ensures only the main bot channel & and any overridden channels are shown in the embed. We do this before the categories block as the categories kwarg itself is an override, so we want to include those in any output.
| * / / Remove broken link from the April fool collection Gravatar Matteo Bertucci2021-03-24-4/+0
|/ / / | | | | | | Its’a braken
| * | Make repository accept either user/reponame or user reponameGravatar ToxicKidz2021-03-26-3/+8
| | |
| * | Make requested changesGravatar ToxicKidz2021-03-25-8/+9
| | |
| * | Merge branch 'github-repo-command' of ↵Gravatar ToxicKidz2021-03-25-1/+1
| |\ \ | | | | | | | | | | | | https://github.com/ToxicKidz/sir-lancebot into github-repo-command
| | * | Info -> informationGravatar ToxicKidz2021-03-24-1/+1
| | | | | | | | | | | | Co-authored-by: Shivansh-007 <[email protected]>
| * | | Quote reponame and usernameGravatar ToxicKidz2021-03-25-2/+13
| |/ /
| * | Update docstrings because user and repo are now mandatory argumentsGravatar ToxicKidz2021-03-24-10/+2
| | |
| * | Add the embed kwarg to ctx.sendGravatar ToxicKidz2021-03-21-1/+1
| | |
| * | Make last commit not a timestamp to improve readabilityGravatar ToxicKidz2021-03-20-3/+3
| | |
| * | ChangeGravatar ToxicKidz2021-03-20-1/+1
| | |
| * | Fix importsGravatar ToxicKidz2021-03-20-1/+1
| | |
| * | Fix trailing whitespaceGravatar ToxicKidz2021-03-20-1/+1
| | |
| * | Merge branch 'github-repo-command' of ↵Gravatar ToxicKidz2021-03-20-3/+4
| |\ \ | | | | | | | | | | | | https://github.com/ToxicKidz/sir-lancebot into github-repo-command
| | * | Make a new line for `created_at`Gravatar ToxicKidz2021-03-20-3/+4
| | | | | | | | | | | | Co-authored-by: Shivansh-007 <[email protected]>
| * | | Merge branch 'github-repo-command' of ↵Gravatar ToxicKidz2021-03-20-1/+1
| |\| | | | | | | | | | | | | | https://github.com/ToxicKidz/sir-lancebot into github-repo-command