| Commit message (Collapse) | Author | Age | Lines |
|\ |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Aoc count timestamp
|
| | |
|
| |
| |
| |
| | |
This gives the user the ability to hover the timestamp with their mouse to get an exact date and time.
|
|/
|
|
| |
This is so that there is less code within the if block, making it easier to parse the whole command by eye.
|
|\
| |
| | |
Disable File Logging By Default
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Fix a grammatical mistake in the description of the `.spookify` command
|
|/ / |
|
|\ \
| | |
| | | |
Add check to ensure the day-and-star data exists
|
| |\ \
| |/ /
|/| | |
|
| | | |
|
| |/
|/|
| |
| |
| |
| | |
Place logging to file behind an environment variable.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|\|
| |
| | |
Introduce command changes in the AoC Cog
|
| |
| |
| |
| |
| |
| |
| | |
- 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]>
|
|/
|
|
|
| |
- 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.
|
|\
| |
| | |
Add color command
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Fix Startup Crash Loop
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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]>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
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]>
|
|\ \ |
|
| |\ \
| |/ /
|/| | |
|
|\ \ \ |
|
| |\ \ \
| |/ / /
|/| | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This allows the coloredlogs module to
automatically detect colour support when running in docker
|
| | |\ \
| |_|/ /
|/| | | |
|
|\ \ \ \
| | | | |
| | | | | |
Add a border around the scary bat
|
| |\ \ \ \
| |/ / / /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Co-authored-by: Hedy Li <[email protected]>
Co-authored-by: Xithrius <[email protected]>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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 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"
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Candy Game: Ignore reactions to bot messages when adding candies
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
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 enabling of trace loggers as described in python-discord/bot#1529
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The difference in the logging levels without debug mode enabled was
also removed
|