aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into mainGravatar wookie1842022-01-16-5/+8
|\
| * Fix AoC name lookup for anon usersGravatar Chris Lovering2022-01-12-1/+3
| | | | | | | | | | | | When a user doesn't set a name, the AoC API doesn't return a name key at all, so we need to make use of the ID field instead, to build the name based on a similar tempalte that AoC uses for it's leaderboard. Co-authored-by: ToxicKidz <[email protected]>
| * Fix aoc join in date logicGravatar Chris Lovering2022-01-09-3/+4
| |
| * Remove trailing whitespaceGravatar Chris Lovering2022-01-08-1/+1
| | | | | | | | Like the previous commit, this trivial change is actually to try and reproduce a bug we had with our GitHub actions.
| * Change single quote to double quote.Gravatar Chris Lovering2022-01-08-1/+1
| | | | | | | | This trivial change is actually to try and reproduce a bug we had with our GitHub actions.
* | handle OverflowError in relative times converterGravatar Sn4u2022-01-08-1/+1
|/
* Merge Epoch Command (PR #983)Gravatar bones2022-01-09-0/+135
| | | | | | | Add timestamp converter command. Co-authored-by: Sn4u <[email protected]> Co-authored-by: mathstrains21 <[email protected]> Co-authored-by: mathstrains21 <[email protected]>
* Update GitHub issue closed emojiGravatar Chris Lovering2022-01-02-1/+1
| | | | GitHub updated their issue closed emoji from red to purple, this updates the emoji to relfect that new colour.
* Yank aoc subscribe (#972)Gravatar aru2022-01-02-36/+9
|
* Add a Madlibs game (#901)Gravatar DMFriends2022-01-02-0/+283
| | | | | | Co-authored-by: Bluenix <[email protected]> Co-authored-by: Shom770 <[email protected]> Co-authored-by: aru <[email protected]> Co-authored-by: ChrisJL <[email protected]>
* Merge branch 'main' into dm-checkGravatar ChrisJL2022-01-01-263/+429
|\
| * add missing enumsGravatar Sn4u2022-01-01-0/+32
| |
| * Allow AoC join to be ran in the month before and after the eventGravatar Chris Lovering2022-01-01-3/+7
| |
| * Allow AoC commands to be run in JanuaryGravatar Chris Lovering2022-01-01-5/+5
| |
| * Raise error when bot can't modify the given role in member helper utilGravatar Chris Lovering2021-12-29-1/+1
| |
| * Add logging to AoC role task to help debugging issuesGravatar Chris Lovering2021-12-29-2/+9
| |
| * Inform invoker after successfully blocking a user from AoC comp. roleGravatar Chris Lovering2021-12-28-0/+1
| |
| * Condense conditional logic in AoC completionist role taskGravatar Chris Lovering2021-12-28-8/+3
| |
| * Ability to block users from AoC completer roleGravatar ChrisLovering2021-12-28-2/+19
| |
| * Add hourly task to assign AoC completer roleGravatar ChrisLovering2021-12-28-2/+59
| | | | | | | | This task uses the cached leaderboard to see who has all 50 stars and assigns them a role to highlight them as completers.
| * Add member util functionsGravatar Chris2021-12-28-0/+47
| | | | | | | | This adds some useful utils, get_or_fetch and handle role change. These utils handle errors themselves, so can simplify implementations within the commands.
| * Remove latex cog and matplotlibGravatar Chris Lovering2021-12-28-101/+0
| | | | | | | | | | | | matplotlib, and its sub dependencies, caused a fresh install of an environment to take multiple minutes. As the latex cog is the only one that used it, and that is currently disabled, we have decided to remove it entirely. Git gives us the benefit of being able to see deleted files. So whoever decides to implement latex again can use that for reference.
| * Double quotesGravatar evgriff2021-12-16-2/+2
| |
| * Merge branch 'main' of https://github.com/python-discord/sir-lancebotGravatar evgriff2021-12-16-0/+7
| |\
| | * minor: allow color command in dev-media (#944)Gravatar aru2021-12-15-0/+7
| | | | | | | | | Co-authored-by: Xithrius <[email protected]>
| * | user.mentionGravatar evgriff2021-12-16-2/+2
| | |
| * | Merge branch 'main' of https://github.com/python-discord/sir-lancebotGravatar evgriff2021-12-15-34/+57
| |\|
| | * Merge branch 'main' into yank-lovefest-subGravatar Xithrius2021-12-15-2/+115
| | |\
| | | * Reflect new message converter behaviour in bm help messageGravatar Chris Lovering2021-12-05-1/+1
| | | | | | | | | | | | | | | | Since w epatched the message converter to work as intended, the help message given to a user when failing to resolve a message reference to a message object has been updated.
| | | * Patch d.py's message converters to infer channelID from the given contextGravatar Chris Lovering2021-12-05-0/+29
| | | | | | | | | | | | | | | | Discord.py's message converter is supposed to infer channelID based on ctx.channel if only a messageID is given. A refactor (linked below) a few weeks before d.py's archival broke this, so that if only a messageID is given to the converter, it will only find that message if it's in the bot's cache.
| | * | chore: update lovefest docstring to reflect deprecationGravatar onerandomusername2021-12-03-5/+2
| | | |
| | * | chore: remove subcommands entirelyGravatar onerandomusername2021-12-03-13/+1
| | | |
| | * | yank lovefest role management commandsGravatar onerandomusername2021-12-03-20/+11
| | | |
| | * | feat: implement moving commandsGravatar onerandomusername2021-12-03-1/+19
| | | | | | | | | | | | | | | | add exceptions and handler for commands that move locations
| * | | Adding suggestions, removing erroneous commitGravatar evgriff2021-12-15-6/+5
| | | |
| * | | added key checkGravatar evgriff2021-12-10-1/+1
| | | |
| * | | Merge branch 'main' of https://github.com/python-discord/sir-lancebotGravatar evgriff2021-12-10-112/+175
| |\ \ \ | | | |/ | | |/|
| | * | Add more information to `.aoc lb` error embedGravatar Janine vN2021-12-04-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Advent of Code Leaderboard BadArgument error embed now mentions to join the leaderboard and to wait up to 30 minutes if you've joined recently.
| | * | Adjust variable name for clarity and add spaceGravatar Janine vN2021-12-04-3/+3
| | | |
| | * | Adjust `.aoc lb` to use linked account in cacheGravatar Janine vN2021-12-03-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | If the user has not supplied a name to use for the leaderboard, then code will check if they have an account linked. If they do, it will use the linked account in the leaderboard to show placement.
| | * | Merge branch 'main' into aoc-linkGravatar Janine vN2021-12-03-91/+76
| | |\|
| | | * Merge branch 'main' into aoc-lb-multiwordGravatar Hassan Abouelela2021-12-03-23/+27
| | | |\
| | | | * Merge branch 'main' into update-role-constantsGravatar Hassan Abouelela2021-12-02-79/+51
| | | | |\
| | | | * | Revert change to if statement checking if staff in `.aoc join`Gravatar Izan2021-11-29-1/+1
| | | | | |
| | | | * | Merge branch 'main' into update-role-constantsGravatar TizzySaurus2021-11-29-163/+2699
| | | | |\ \
| | | | * | | Change `MODERATION_ROLES` and `STAFF_ROLES` constants to be a setGravatar Izan2021-11-29-2/+2
| | | | | | |
| | | | * | | Make certain AOC commands guild-onlyGravatar Izan2021-10-11-0/+3
| | | | | | |
| | | | * | | Check role id in STAFF_ROLES instead of comparing to helpersGravatar Izan2021-10-11-2/+2
| | | | | | |
| | | | * | | Check role id in MODERATION_ROLES instead of comparing to moderation_team ↵Gravatar Izan2021-10-11-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and safeguard `.roles` attribute
| | | | * | | Rename `Roles.owner` to `Roles.owners`Gravatar Izan2021-10-11-2/+2
| | | | | | |