aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
...
| | | * | | | 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.
| | * / | | Added the user's score to Candy Command according to #947Gravatar evgriff2021-12-10-0/+12
| | |/ / /
| | * | | Merge branch 'main' into file_loggingGravatar Xithrius2021-11-28-4/+9
| | |\ \ \
| | | * | | Fix a grammatical mistake in the description of the `.spookify` commandGravatar DMFriends2021-11-22-1/+1
| | | | | |
| | | * | | Add check to ensure the day-and-star data existsGravatar D0rs4n2021-11-21-3/+8
| | | | | |
| | * | | | Disable File Logging By DefaultGravatar Hassan Abouelela2021-11-20-4/+2
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Place logging to file behind an environment variable. Signed-off-by: Hassan Abouelela <[email protected]>
| * / / / 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]>
| * | | Update Caching logic in AoC helpersGravatar D0rs4n2021-11-19-6/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - This commit adds a new set of leaderboard data to the cache so that it calculates the correct information if issued with either a `self_placement_name` or not. - It also introduces code consistency upgrades Co-Authored-By: Johannes Christ <[email protected]>
| * | | Introduce command changes in the AoC CogGravatar D0rs4n2021-11-18-31/+66
| |/ / | | | | | | | | | | | | - The AoC day and star browser has been separated from the leaderboard command, from now on it's a separate command - The leaderboard command has a new `self_placement_name` option, that shows the personal stats for the specified profile name.
| * | Merge branch 'main' into color-677Gravatar Matteo Bertucci2021-11-14-119/+188
| |\ \
| | * | Move Sentry Into InitGravatar Hassan Abouelela2021-11-12-22/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moves the sentry setup to be one of the very first things run during startup, so we are able to catch more errors, such as ones that might occur while setting up logs. Signed-off-by: Hassan Abouelela <[email protected]>
| | * | Disable File Logs In ProductionGravatar Hassan Abouelela2021-11-12-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The most recent changes to our log setup had the loggers writing to a read-only location in prod. This would cause an error during startup. To get around this while keeping the change, I moved it to only be used if debug is True. Signed-off-by: Hassan Abouelela <[email protected]>
| | * | Merge branch 'main' into coloredlogsGravatar Xithrius2021-11-11-19/+25
| | |\ \
| | | * \ Merge branch 'main' into challenge-fixGravatar Hassan Abouelela2021-11-10-68/+324
| | | |\ \
| | | * | | Fix line after function docstringGravatar Shom7702021-11-07-1/+0
| | | | | |
| | | * | | Change language to language.lower()Gravatar Shom7702021-11-06-2/+4
| | | | | |
| | | * | | lowering challenges for compatibility with uppercase languagesGravatar Shom7702021-11-06-1/+1
| | | | | |
| | | * | | removed repeating query is NoneGravatar Shom7702021-10-14-15/+16
| | | | | |
| | | * | | requested changes from TizzySaurus implementedGravatar Shom7702021-10-14-7/+6
| | | | | |
| | | * | | fixing errorsGravatar Shom7702021-10-13-3/+8
| | | | | |
| | * | | | Merge remote-tracking branch 'upstream/main' into coloredlogsGravatar Numerlor2021-11-09-385/+20075
| | |\ \ \ \ | | | | |/ / | | | |/| |
| | | * | | Merge branch 'main' into Add-border-around-batGravatar ChrisJL2021-11-07-48/+178
| | | |\ \ \
| | | | * | | Handle `.wtf` command without query (#939)Gravatar brad90four2021-11-07-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Hedy Li <[email protected]> Co-authored-by: Xithrius <[email protected]>
| | | | * | | Limit user reactions on embed paginationGravatar NipaDev2021-11-05-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Limit user reactions on embed pagination Limit user reactions to prevent non-author from removing message by adding user restriction to paginator. * Fixed the format of code to single line. Co-authored-by: ChrisJL <[email protected]>
| | | | * | | Add option to get specific amount of realpython articlesGravatar NipaDev2021-11-05-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a feature to choice in between 1-5 (inclusive) articles. If value not specified, the default, 5 will be used. Co-authored-by: ChrisJL <[email protected]>
| | | | * | | Remove the "what's your skill level topic"Gravatar SavagePastaMan2021-11-01-1/+0
| | | | | | |
| | | | * | | Candy Game: Ignore reactions to bot messages when adding candiesGravatar Hedy Li2021-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)Gravatar TizzySaurus2021-10-26-12/+12
| | | | | | |
| | | * | | | Add a border around the scary batGravatar Chris Lovering2021-10-17-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When users with dark avatars would use the spookify command, they wouldn't be able to see the bat that was added. By adding a white border around the bat, it is now more visable.
| | * | | | | Add selective trace loggersGravatar Numerlor2021-09-07-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add selective enabling of trace loggers as described in python-discord/bot#1529
| | * | | | | Remove basicConfig configurationGravatar Numerlor2021-09-07-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The basicConfig now only controlled the file handler which could've been confusing. The format string was also changed to use the same style as bot
| | * | | | | Add coloredlogsGravatar Numerlor2021-09-07-1/+17
| | | | | | |
| | * | | | | Control logging levels through root logger instead of handlersGravatar Numerlor2021-09-07-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The difference in the logging levels without debug mode enabled was also removed
| | * | | | | Remove handler cleanupGravatar Numerlor2021-09-07-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't seem to do anything as no handlers are set up beforehand
| | * | | | | Move logging to a top level logs directory and update file nameGravatar Numerlor2021-09-07-4/+2
| | | | | | |
| | * | | | | Move logging to a separate moduleGravatar Numerlor2021-09-07-61/+65
| | | | | | |
| * | | | | | Resources: add copyright notice to ryanzec_colours.jsonGravatar Matteo Bertucci2021-11-14-1/+1
| | | | | | |
| * | | | | | fix: handle bare command embed titleGravatar bradtimmis2021-11-13-1/+1
| | | | | | |
| * | | | | | fix: update type hint, color to colour, embed wordingGravatar bradtimmis2021-11-13-10/+10
| | | | | | |
| * | | | | | fix: remove unnecessary return in main commandGravatar bradtimmis2021-11-13-3/+0
| | | | | | |
| * | | | | | fix: remove equal sign from hex length checkGravatar bradtimmis2021-11-12-2/+2
| | | | | | |
| * | | | | | fix: bare return instead of explicit NoneGravatar brad90four2021-11-12-1/+1
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: Xithrius <[email protected]>
| * | | | | | fix: replace Union with Optional type hintGravatar brad90four2021-11-12-1/+1
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: Xithrius <[email protected]>
| * | | | | | fix: check length of hex before stripGravatar bradtimmis2021-11-12-1/+3
| | | | | | |
| * | | | | | update: remove redundancy in dosctringGravatar bradtimmis2021-11-11-1/+1
| | | | | | |
| * | | | | | fix: remove alpha values in embed for hexGravatar bradtimmis2021-11-11-2/+2
| | | | | | |
| * | | | | | Merge branch 'color-677' of github.com:brad90four/sir-lancebot into color-677Gravatar bradtimmis2021-11-11-1/+1
| |\ \ \ \ \ \
| | * | | | | | update: remove redundancy in docstringGravatar brad90four2021-11-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Hedy Li <[email protected]>
| * | | | | | | fix: change color to Colour in commentGravatar bradtimmis2021-11-11-1/+1
| |/ / / / / /
| * | | | | | fix: remove async call for match_colour_nameGravatar bradtimmis2021-11-11-8/+11
| | | | | | |