| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The interface was becoming cumbersome to work with so it was all moved
to a single location. Now just calling Syncer.sync() will take care of
everything.
* Remove Optional type annotation from Diff attributes
* _confirm() can edit the original message and use it as the prompt
* Calculate the total diff and compare it against the max before
sending a confirmation prompt
* Remove abort message from sync(); _confirm() will handle that
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The confirmation prompt will be sent to the dev-core channel or the
specified context. Confirmation is done via reactions and waits 5
minutes before timing out.
* Add name property to Syncers
* Make _get_diff private; only sync() needs to be called now
* Change spelling of synchronize to synchronise
* Update docstrings
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Replaces the functions with a class for each syncer. The classes
inherit from a Syncer base class. A NamedTuple was also created to
replace the tuple of the object differences that was previously being
returned.
* Use namedtuple._asdict to simplify converting namedtuples to JSON
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Use ID from constants directly instead of SYNC_SERVER_ID
* Use f-strings instead of %s for logging
* Fit into margin of 100
* Invert condition to reduce nesting
* Use Any instead of incorrect function annotation for JSON values
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Reduces code redundancy.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This seems to have been the intent of the original implementation.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
It has a much better guarantee that the cache will be available.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This coroutine waits until the configured guild is available and
ensures the cache is present.
The on_ready event is inadequate because it only waits 2 seconds for a
GUILD_CREATE gateway event before giving up and thus not populating the
cache for unavailable guilds.
|
| | | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If a reminder is invalid, it won't get rescheduled. Therefore, there
wouldn't exist a task to cancel and it'd raise a warning.
Fixes BOT-1C
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
This name better explains what the list is for.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Lists were getting too long to be readable as one line. Having each
element on a separate line also reduces merge conflicts.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
They used to only be loaded in "debug mode" because the main guild was
used to test the bot. However, we have since moved to using a separate
test guild so it's no longer a concern if these cogs get loaded.
It was confusing to some contributors as to why these cogs were not
being loaded since the debug mode isn't really documented anywhere.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Nothing was using it.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It makes the code which uses it more readable. A comment was added to
explain the discrepancy between the constant's name and the name in the
guild.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
They no longer exist in the guild.
* Move devlog under the "Logs" category
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |/ / / |
|
| |\ \ \
| |_|/
|/| | |
Reminder Embed Enhancements & Whitelist Expansion
|
| | |\ \
| |/ /
|/| | |
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
Check reminder user and channel before send and schedule.
|
| | |\ \ \
| |/ / /
|/| | | |
|
| |\ \ \ \
| | | | |
| | | | | |
Change verification post log level to info, tidy code.
|
| | |\ \ \ \
| |/ / / /
|/| | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Fix missing Django logs when using Docker Compose
|
| | |\ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixed by allocating a pseudo-tty to the web and bot services in Docker
Compose.
|
| |\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
Reduce log level of tag cooldown notice.
|
| |/ / / / / / |
|
| | |/ / / /
|/| | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Refactor information.py with lots of changes that makes the overall code cleaner and faster
|
| | |\ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix paginator erroring on clearing reactions from non-existing messages.
|
| | |\ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
python-discord/optimize/pagination/emoji_collection_structure
Pagination migrations - Emoji Data Structure Modified
|
| | |\ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Don't log exception traceback on Forbidden for welcomes.
|
| |/ / / / / / / / |
|