aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
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.
* 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
* 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 branch 'main' into Handle-DMChannelsGravatar Joe Banks2021-04-03-40/+154
|\
| * Merge branch 'main' into github-repo-commandGravatar Joe Banks2021-03-31-7/+44
| |\
| | * 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 branch 'main' into patch-1Gravatar Neil Shah2021-03-30-1/+24
| | |\
| | | * 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 branch 'main' into remove-broken-linkGravatar Matteo Bertucci2021-03-25-2/+8
| | |\
| | | * 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
| | * | Update bot/exts/evergreen/githubinfo.pyGravatar ToxicKidz2021-03-20-1/+1
| | | | | | | | | | | | Co-authored-by: Shivansh-007 <[email protected]>
| * | | Follow style guildines and use better coloursGravatar ToxicKidz2021-03-20-21/+27
| |/ /
| * | Forgot a comma for the tupleGravatar ToxicKidz2021-03-19-1/+1
| | |
| * | Make git alias for the group insteadGravatar ToxicKidz2021-03-19-2/+2
| | |
| * | Make better aliases and follow style guidelinesGravatar ToxicKidz2021-03-19-18/+23
| | |
| * | Make flake8 happyGravatar ToxicKidz2021-03-19-3/+3
| | |
| * | Missed a \nGravatar ToxicKidz2021-03-19-1/+1
| | |
| * | Make alias repository, not repositoriesGravatar ToxicKidz2021-03-19-1/+1
| | |
| * | Make .github a group, and add github repo + user commandsGravatar ToxicKidz2021-03-19-8/+64
| |/
* | Send error embed when a user tries to retrieve an issue in DMsGravatar Chris2021-04-02-7/+16
| |
* | Merge branch 'Handle-DMChannels' of github.com:ChrisLovering/sir-lancebot ↵Gravatar Chris2021-04-02-357/+1063
|\ \ | | | | | | | | | into Handle-DMChannels
| * | Merge branch 'main' into Handle-DMChannelsGravatar Matteo Bertucci2021-03-19-357/+1063
| |\|
| | * Removes Unused Roles & ChannelsGravatar Hassan Abouelela2021-03-13-26/+1
| | | | | | | | | | | | | | | | | | | | | Removes roles and channels from constants.py that are not used anywhere in the project. Signed-off-by: Hassan Abouelela <[email protected]>
| | * master => mainGravatar Joe Banks2021-03-13-12/+12
| | |
| | * make invoke_help_command only take ctxGravatar ToxicKidz2021-03-13-16/+16
| | |
| | * Make flake8 happy again.Gravatar ToxicKidz2021-03-12-3/+4
| | |