| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Update bot/exts/holidays/halloween/spookygif.py | 2023-05-06 | -1/+1 | |
| | | | | Co-authored-by: wookie184 <[email protected]> | |||
| * | Run null check on needed api keys before loading cogs. | 2023-05-06 | -0/+6 | |
| | | | | | | | This makes sure that all cogs that need keys won't load. Which helps in avoiding exceptions at runtime, and give a clearer warning at startup time. | |||
| * | use `SecretStr` for all secrets | 2023-05-06 | -5/+5 | |
| | | ||||
| * | move lovefest role under the Roles class | 2023-05-06 | -6/+6 | |
| | | ||||
| * | revert renaming of Client to Bot | 2023-05-06 | -11/+11 | |
| | | ||||
| * | update Tokens & Wolfram | 2023-05-06 | -3/+3 | |
| | | ||||
| * | update Client constants | 2023-05-06 | -11/+11 | |
| | | | | | This also renames the Client class to Bot, to align better with Python. | |||
| * | Ensure page is always random | 2023-03-30 | -1/+1 | |
| | | ||||
| * | max -> min | 2023-03-22 | -1/+1 | |
| | | ||||
| * | Fix linting | 2023-03-14 | -4/+3 | |
| | | ||||
| * | Correctly handle when the movie API doesn't return any movies | 2023-03-09 | -3/+17 | |
| | | ||||
| * | Move Earth Day to April, where it belongs | 2023-02-01 | -1/+1 | |
| | | ||||
| * | Isolate regex options to capture groups | 2023-01-18 | -6/+6 | |
| | | ||||
| * | Perform small fixes, incl requested: sorting, typo, redundancies, mood | 2023-01-17 | -15/+13 | |
| | | | | | | | | | - Fixes misspelling of hanukkah regex - Move `_check_message` docstring to imperative mood - Remove redundant `_short_circuit_check` from `_check_message` - Remove redundant comma from `EarthDay`'s reaction list - Sort triggers for Halloween and Christmas | |||
| * | Add non-Christmas holiday reaction capabilities | 2023-01-16 | -18/+89 | |
| | | | | | | | | | | | Triggers for reactions are moved from a dict to to a 2-deep NamedTuple. This is cleaner for multiple reactions, and allows for additional parameters, such as months. Message case checking is altered from `.lower` to `re.IGNORECASE`. Not only does the regex flag short circuit, it doesn't modify the string in question | |||
| * | De-Halloween-ify reaction Cog: move file, rename internals | 2023-01-15 | -4/+4 | |
| | | | | | | Additional pending reactions mean putting the reaction Cog in the halloween directory no longer makes sense. Approriate renamings follow. | |||
| * | Enhance spooky react to be more spoopy. | 2022-11-13 | -1/+1 | |
| | | | | This change adjusts the regex pattern used in detecting `spooky` to include fun variants such as `spoopy` and `spookier`. The `k` is replaceable with a `p`, the `y` can be interchanged with `i` allowing `ier` and `iest` endings. (`yer` and `yest` are also valid). The number of `o`s remains at two (2) or more. | |||
| * | Improve time complexity of `already_reacted` function. | 2022-10-22 | -6/+8 | |
| | | ||||
| * | Add `break` statement to loop to make its functionality clearer. | 2022-10-19 | -0/+4 | |
| | | ||||
| * | Remove unnecessary map() | 2022-10-19 | -4/+1 | |
| | | ||||
| * | Remove calls to the deprecated .flatten() method | 2022-10-19 | -7/+31 | |
| | | ||||
| * | Add bat spooky reaction (#1118) | 2022-10-12 | -1/+2 | |
| | | ||||
| * | Remove all wait_until_guil_available as this is now done in bot-core | 2022-09-23 | -5/+0 | |
| | | ||||
| * | Move init tasks to async cog_load functions | 2022-09-21 | -3/+1 | |
| | | ||||
| * | Support discord.py's new async cog loading | 2022-09-21 | -66/+66 | |
| | | ||||
| * | Fix issue #1050 (#1097) | 2022-09-19 | -1/+1 | |
| | | | | Co-authored-by: ChrisJL <[email protected]> | |||
| * | Allow `.src` in dev-contrib and community-meta (#1033) | 2022-02-20 | -13/+13 | |
| | | ||||
| * | Remove unused import | 2022-01-31 | -1/+1 | |
| | | ||||
| * | Replace command/channel for lovefest role error in calculator | 2022-01-31 | -1/+1 | |
| | | ||||
| * | Use constant for Python bot prefix | 2022-01-31 | -2/+2 | |
| | | ||||
| * | Add period to love calculator footer | 2022-01-31 | -1/+1 | |
| | | ||||
| * | Fix footer reference to deprecated unsubscribe command | 2022-01-31 | -1/+1 | |
| | | ||||
| * | Double quotes | 2021-12-16 | -2/+2 | |
| | | ||||
| * | user.mention | 2021-12-16 | -2/+2 | |
| | | ||||
| * | Merge branch 'main' of https://github.com/python-discord/sir-lancebot | 2021-12-15 | -32/+8 | |
| |\ | ||||
| | * | chore: update lovefest docstring to reflect deprecation | 2021-12-03 | -5/+2 | |
| | | | ||||
| | * | chore: remove subcommands entirely | 2021-12-03 | -13/+1 | |
| | | | ||||
| | * | yank lovefest role management commands | 2021-12-03 | -20/+11 | |
| | | | ||||
| * | | Adding suggestions, removing erroneous commit | 2021-12-15 | -5/+4 | |
| | | | ||||
| * | | Merge branch 'main' of https://github.com/python-discord/sir-lancebot | 2021-12-10 | -48/+36 | |
| |\| | ||||
| | * | fix: hanukkah command respects month boundaries | 2021-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. | |||
| * | | Added the user's score to Candy Command according to #947 | 2021-12-10 | -0/+12 | |
| |/ | ||||
| * | Candy Game: Ignore reactions to bot messages when adding candies | 2021-10-29 | -0/+5 | |
| | | | | | | | | | | | | | | | | | | | Check whether a reaction is for a bot message when adding candies upon reactions. Previously you could use bot's reaction buttons which would trigger `on_reaction_add` and have a high chance of getting candies (or skulls). It can easily be abused to spam reactions, which apparently doesn't trigger an auto-mute like spamming messages do, AFAIK. In any case, I don't really feel good about reactions triggering candies. Despite this fix, the game *can* still be abused (but I won't tell you how). Though this occuring by accident is less likely than before. Either figure it out yourself or don't try to cheat :P This patch can be tested using the `.snake antidote` game when you react to the recipe buttons. Using `.help` works too but it produces a lot of noise in the logs. Tic tac toe may be helpful as well. Anyway, you could just react to bot messages yourself. | |||
| * | Migrate to `og_blurple` (#924) | 2021-10-26 | -1/+1 | |
| | | ||||
| * | Isort: give the codebase a sort | 2021-10-22 | -2/+2 | |
| | | ||||
| * | Replace usage of bot.command_prefix with constants.Client.prefix | 2021-10-09 | -3/+3 | |
| | | ||||
| * | Candy collection: fix positional arg being passed as kword | 2021-10-08 | -1/+1 | |
| | | | | This caused a `TypeError` to be raised, as the `id` argument could only be used as a positional argument and not by keyword. | |||
| * | Merge branch 'main' into main | 2021-10-03 | -4/+4 | |
| |\ | ||||
| | * | Ignore bot messages for spooky react | 2021-10-03 | -4/+4 | |
| | | | | | | | | | | | Previously only ignored its own messages, but now ignores messages from all bots. | |||
| * | | Remove trailing whitespace | 2021-09-24 | -1/+1 | |
| | | | ||||