aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py (unfollow)
Commit message (Collapse)AuthorLines
2021-04-08Issues: add red cross emoji for failed issuesGravatar Matteo Bertucci-1/+1
Co-authored-by: Shivansh-007 <[email protected]>
2021-04-08Issues: icon_url -> emoji_urlGravatar Matteo Bertucci-2/+2
2021-04-08Issues: add accept headerGravatar Matteo Bertucci-1/+3
2021-04-08Issues: make use of invoke_help_commandGravatar Matteo Bertucci-1/+2
Co-authored-by: ToxicKidz <[email protected]>
2021-04-08Refactor issue cogGravatar Matteo Bertucci-4/+4
Co-authored-by: ToxicKidz <[email protected]>
2021-04-08increase the number of repos per page we fetch from githubGravatar vcokltfre-1/+1
2021-04-06Issues: ignore botsGravatar Matteo Bertucci-0/+4
2021-04-06Rewrite issue cogGravatar Matteo Bertucci-86/+119
- Switch to a dataclass based communication - Use GitHub headers when querying the repo_regex - Properly handle non-200 return codes - Use @whitelist_override
2021-04-05Migrate GHCR_TOKEN -> GITHUB_TOKEN in Docker build actionGravatar ks129-1/+1
GITHUB_TOKEN has now enough permissions to be used for pushing to GHCR, so we don't need PAT anymore.
2021-04-05fix: use api fetch not cache getGravatar vcokltfre-1/+1
2021-04-05Issues: limit results to 5Gravatar Matteo Bertucci-4/+14
2021-04-05Issues: remove duplicatesGravatar Matteo Bertucci-0/+3
2021-04-05fix: use get_user in 8bitify to avoid events issuesGravatar vcokltfre-1/+2
2021-04-02Send error embed when a user tries to retrieve an issue in DMsGravatar Chris-7/+16
2021-04-02Don't allow users to run the issue command in DMs, given error feedback.Gravatar Chris-3/+21
2021-03-31Update our policy documentsGravatar Matteo Bertucci-124/+8
2021-03-30Add missing commas to april_fools_vids.jsonGravatar Matteo Bertucci-3/+3
#639 left the json file in a broken state, not letting the bot start.
2021-03-29Add more game dev topicsGravatar Boris Muratov-0/+4
2021-03-28Added more topics.Gravatar Xithrius-1/+20
2021-03-27Remove unused WHITELISTED_CHANNELS_ON_MESSAGE constantGravatar Matteo Bertucci-4/+1
2021-03-27Allow automatic linking of issues everywhereGravatar Matteo Bertucci-6/+0
We have been limiting the channels where automatic linking issues can be used in (See #566). Since we haven't seen any potential issue with it, we can allow it everywhere to avoid updating it every two days or because of missing channels.
2021-03-26Make repository accept either user/reponame or user reponameGravatar ToxicKidz-3/+8
2021-03-26Added 3 More Elements To The JsonGravatar Neil Shah-0/+12
2021-03-25Make requested changesGravatar ToxicKidz-8/+9
2021-03-25Quote reponame and usernameGravatar ToxicKidz-2/+13
2021-03-24Info -> informationGravatar ToxicKidz-1/+1
Co-authored-by: Shivansh-007 <[email protected]>
2021-03-24Update docstrings because user and repo are now mandatory argumentsGravatar ToxicKidz-10/+2
2021-03-24Remove broken link from the April fool collection Gravatar Matteo Bertucci-4/+0
Its’a braken
2021-03-21Replace list comp with a set update + sequenceGravatar Chris-1/+1
2021-03-21 Add the embed kwarg to ctx.sendGravatar ToxicKidz-1/+1
2021-03-20Make last commit not a timestamp to improve readabilityGravatar ToxicKidz-3/+3
2021-03-20ChangeGravatar ToxicKidz-1/+1
2021-03-20Fix importsGravatar ToxicKidz-1/+1
2021-03-20Fix trailing whitespaceGravatar ToxicKidz-1/+1
2021-03-20Make a new line for `created_at`Gravatar ToxicKidz-3/+4
Co-authored-by: Shivansh-007 <[email protected]>
2021-03-20Follow style guildines and use better coloursGravatar ToxicKidz-21/+27
2021-03-20Update bot/exts/evergreen/githubinfo.pyGravatar ToxicKidz-1/+1
Co-authored-by: Shivansh-007 <[email protected]>
2021-03-20Only output override channels & bot commands channel on whitelist errorGravatar Chris-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.
2021-03-19Forgot a comma for the tupleGravatar ToxicKidz-1/+1
2021-03-19Make git alias for the group insteadGravatar ToxicKidz-2/+2
2021-03-19Make better aliases and follow style guidelinesGravatar ToxicKidz-18/+23
2021-03-19Make flake8 happyGravatar ToxicKidz-3/+3
2021-03-19Missed a \nGravatar ToxicKidz-1/+1
2021-03-19Make alias repository, not repositoriesGravatar ToxicKidz-1/+1
2021-03-19Make .github a group, and add github repo + user commandsGravatar ToxicKidz-8/+64
2021-03-18Bump pillow from 7.2.0 to 8.1.1Gravatar dependabot[bot]-61/+45
Bumps [pillow](https://github.com/python-pillow/Pillow) from 7.2.0 to 8.1.1. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/7.2.0...8.1.1) Signed-off-by: dependabot[bot] <[email protected]>
2021-03-14Separate deploy stageGravatar Joe Banks-10/+24
Separate the build and deploy stage and set the environment value for the deployment stage.
2021-03-13Use .gitattributes to normalise line endings on check-inGravatar MarkKoz-2/+2
Remove the mixed line endings pre-commit hook because it is obsolete. Relying on git to handle line endings means contributors have more flexibility with which line endings they want to use on check-out. The settings in .gitattributes only impose which line endings will be used upon check-in (LF), which should not impact local development; git will still respect the core.eol and core.autocrlf settings.
2021-03-13Removes Unused Roles & ChannelsGravatar Hassan Abouelela-26/+1
Removes roles and channels from constants.py that are not used anywhere in the project. Signed-off-by: Hassan Abouelela <[email protected]>
2021-03-13Dockerfile optimisationsGravatar Joe Banks-6/+11