aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts (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.
* 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-33/+110
|\
| * 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-232/+771
|\ \ | | | | | | | | | into Handle-DMChannels
| * | Merge branch 'main' into Handle-DMChannelsGravatar Matteo Bertucci2021-03-19-232/+771
| |\|
| | * Removes Unused Roles & ChannelsGravatar Hassan Abouelela2021-03-13-1/+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-2/+2
| | |
| | * make invoke_help_command only take ctxGravatar ToxicKidz2021-03-13-13/+13
| | |
| | * Make flake8 happy again.Gravatar ToxicKidz2021-03-12-2/+2
| | |
| | * Make flake8 happy.Gravatar ToxicKidz2021-03-12-2/+3
| | |
| | * make utility invoke_help_command functionGravatar ToxicKidz2021-03-12-27/+23
| | |
| | * change ctx.send_help to ctx.invoke(help_command)Gravatar ToxicKidz2021-03-11-13/+26
| | | | | | | | | | | | ;
| | * Removed requesting to bots. Added grammer.Gravatar JagTheFriend2021-03-10-3/+7
| | |
| | * Merge branch 'master' into earth_photosGravatar Xithrius2021-03-10-24/+83
| | |\
| | | * Remove useless initialization in the AoC cogGravatar Matteo Bertucci2021-03-09-3/+0
| | | |
| | | * Restrict the aoc leaderboard commands to decemberGravatar Matteo Bertucci2021-03-08-0/+2
| | | |
| | | * Properly rename countdown_task -> notification_taskGravatar Matteo Bertucci2021-03-08-2/+2
| | | | | | | | | | | | | | | | The old name was still in use in the cog_unload, making it fail
| | | * Merge branch 'master' into masterGravatar scragly2021-03-08-241/+1397
| | | |\
| | | | * Merge branch 'master' into masterGravatar MrKomodoDragon2021-03-04-96/+594
| | | | |\
| | | | * | Remove "Want to suggest a fact?" for consistencyGravatar MrKomodoDragon2021-03-04-2/+1
| | | | | |