aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
...
| | * 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
| | | | |\
| | | | * | Note why .aoc lb strips quotes from namesGravatar Ben Soyka2021-12-02-0/+1
| | | | | |
| | | | * | Note that only one layer of quotes is stripped in .aoc lbGravatar Ben Soyka2021-12-02-1/+3
| | | | | |
| | | | * | Shorten parameter name for .aoc lbGravatar Ben Soyka2021-12-01-13/+8
| | | | | |
| | | | * | Strip quotes from start/end of the username for .aoc lbGravatar Ben Soyka2021-12-01-0/+4
| | | | | |
| | | | * | Make self_placement_name keyword-only in .aoc lbGravatar Ben Soyka2021-12-01-0/+1
| | | | | |
| | | * | | Make aoc_name a keyword arguemnt to accept spacesGravatar Janine vN2021-12-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes `aoc_name` in the link command a keyword only argument. This allows users to link accounts with spaces in the name without having to use quotes.
| | | * | | Adjust wording on log statements to present tenseGravatar Janine vN2021-12-03-3/+3
| | | | | |
| | | * | | Add unlink AoC commandGravatar Janine vN2021-12-03-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the ability for the user to unlink their advent of code name. It will delete the entry in the cache if it exists.
| | | * | | Remove unneeded check and add commentsGravatar Janine vN2021-12-03-15/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes the unneeded check for if the cache is empty. Also adds a seconds comment about the format of the contents of the Redis cache.
| | | * | | Add `.aoc link` commandGravatar Janine vN2021-12-01-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new command will allow people to associate their Discord ID with their Advent of Code name. This Redis Cache idea was taken from the hacktoberfest stats command, which allows people to associate their github username to then pull the correct stats. This does not check if the name exists on the leaderboard and that is intentional. Due to the cooldown on the leaderboard I don't want to rely on that before someone can link their account. Additionally, someone may change their display name on the Advent of Code side and I don't think validation of it existing on the leaderboard gets us anything. The usefulness of this function will not be apparent in this cog, but it is necessary for something fun I'd like to do.
| | * | | | Added the user's score to Candy Command according to #947Gravatar evgriff2021-12-10-0/+12
| | | | | |
| * | | | | Add Better Support For Whitelisting DM CommandsGravatar Hassan Abouelela2021-11-21-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a toggle to the whitelist override, to allow explicit enabling of a command in DMs, and sets the default to False. Removes redundant `guild_only` decorators. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | fix: Add newlines in codeblock formattingGravatar ToxicKidz2022-02-14-1/+1
| | | | | |
* | | | | | Move logging and remove unused varibales in GitHubInfo cogGravatar Chris Lovering2021-12-03-10/+4
| | | | | |
* | | | | | use og_blurple in issue embed for consistencyGravatar Chris Lovering2021-12-02-2/+2
| | | | | |
* | | | | | Make dataclasses hashable, and fix kwarg spelling errorGravatar Chris Lovering2021-12-02-16/+6
| | | | | |
* | | | | | chore: Apply suggested changesGravatar ToxicKidz2021-12-02-55/+35
| | | | | |
* | | | | | chore: Remove the .issue commandGravatar ToxicKidz2021-12-02-37/+0
| | | | | |
* | | | | | chore: Merge the .issue command into the github cogGravatar ToxicKidz2021-12-02-283/+267
| |_|_|_|/ |/| | | |
* | | | | Merge branch 'main' into update-role-constantsGravatar Hassan Abouelela2021-12-02-79/+51
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge branch 'main' into patch-3Gravatar ChrisJL2021-12-02-109/+163
| |\ \ \ \
| | * | | | fix: hanukkah command respects month boundariesGravatar aru2021-12-01-48/+36
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rewrote hanukkah to use datetime.strptime left a helper method and some variables in order to allow extending to use a cache in the future, rather than requesting the api every invoke that is out of scope of this commit and pull, since the command is currently broken. I've only kept the same functionality, without trying to rewrite the entire command.
| | * | | Use Discord timestamps for aoc next day messages countdownsGravatar Chris Lovering2021-11-29-4/+3
| | | | |
| | * | | Use a Discord timestamp to show countdownGravatar Chris Lovering2021-11-29-6/+2
| | | | | | | | | | | | | | | | | | | | This gives the user the ability to hover the timestamp with their mouse to get an exact date and time.
| | * | | Swap conditional in aoc countGravatar Chris Lovering2021-11-29-21/+20
| | | |/ | | |/| | | | | | | | | This is so that there is less code within the if block, making it easier to parse the whole command by eye.