| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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.
|
| | |\ \ |
|
| | | |\ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
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]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: Xithrius <[email protected]>
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: Xithrius <[email protected]>
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | |\ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | | |
Co-authored-by: Hedy Li <[email protected]>
|
| | |/ / / / |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
-Change _ to `digit`
-Remove redundant "Command" from docstrings. Changed to "Create embed
from ..."
-Change hex command custom embed to `BadArgument` for consistency
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
-Added `import string` to use the `string.hexdigits` method to check
hex codes.
-Handled bug where no name match found would be repeated in the embed
in the first line as well as the value for the Name field.
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: Sn4u <[email protected]>
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
https://github.com/python-discord/sir-lancebot/pull/842/files#r739619938
https://github.com/python-discord/sir-lancebot/pull/842/files#r739295253
|