| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Commands decorated with in_month can only be used in one of the allowed
months.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is a safe way to specify which months a command can be used in.
The enum's values behave as ints when being passed to the datetime.date
initialiser.
|
| |\| | | |
|
| | |\ \ \ |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
smaller. Added warning loggings. Better Some Numbers section formatting.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
fixed type hints.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
things more dynamical.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
added alias .movie
|
| | | | | |
| | | | |
| | | | |
| | | | | |
depending how much movies you define. This use TMDB API.
|
| | | | | | |
|
| | |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
F4zi/bug/LAST_EMOJI-352
|
| | | | | | | |
|
| | | | | | | |
|
| | |/ / / / |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Changed the pagination emoji collection from list to tuple
This change was suggested since this collection is constant
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Clicking on [:trashcan:] broke the loop and deleted the message,
instead, now we return after a message deletion and break when
an `asyncio.TimeoutError` is raised
(when a user fails to add reactions in time)
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Switched the emoji used to clear the reactions of a paginator [":x:"]
With [":trashcan:"], Clicking on this emoji deletes the message
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When using pagination in the Reddit cog, clicking the LAST_EMOJI would
raise an exception like this:
TypeError: unsupported operand type(s) for -: 'list' and 'int'
This was resolved by taking the subtraction out of the len() function.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The emoji IDs in the Reddit cog were for emojis that are not available to Seasonal Bot. While I think a proper solution using constants is to be preferred, I've edited in IDs for emojis that can be used by the bot in the mean time.
I've reused three of the emojis that we were already using for our Reddit webhook and added four new emojis to the `PyDis Emoji II` server.
Reused emojis:
:user: 638729835442602003
:upvotes: 638729835245731840
:comments: 638729835073765387
New emojis available on PyDis Emoji II:
:reddit_logo: 676030265734332427
:reddit_post_photo: 676030265734201344
:reddit_post_text: 676030265910493204
:reddit_post_video: 676030265839190047
The latter four may need to be restyled to match the first three in the future.
|
| | | | |
| | | |
| | | |
| | | | |
reddit posts insted of using a while loop
|
| | |\ \ \
| | | |/
| | |/| |
|
| | | | |
| | | |
| | | | |
Update logging events so they follow the correct chain of execution
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |/ / |
|
| | |\ \ |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | |\ \ |
|
| | | | |\ \ |
|
| | | | | | | |
|
| | | |/ / / |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Code style is now consistent with the bot repo.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The title now defaults to Bookmark and is logged surrounded by
single quotes to make it clear which part is the title.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Instead of returning on error we add an else clause to the try-except
block and add a reaction on success to reduce needless visual clutter.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Improves the wording of both docstrings, strips trailing dot from log
and response messages for consistency. Refactors the error embed and
renames the variable.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The bookmark method's function signature is reformatted,
bookmark image url is reduced to a single line,
and the embed's description is broken into separate lines.
|