| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | Changed dm_relay to include user id in webhook when sending attachments. | 2020-10-02 | -1/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | Add use_cached argument to send_attachments, and change it to default to False | 2020-10-02 | -1/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | Changed send_attachments so kwargs could be given and would be passed to send() | 2020-10-02 | -14/+13 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | | | | | | | | | Update bot/exts/moderation/infraction/infractions.py | 2020-10-08 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Dennis Pham <[email protected]> | ||||
| | | | * | | | | | | | | | | | | | | | | | | | | Add the ability to purge and ban in one command. | 2020-10-07 | -2/+26 | ||
| | | |/ / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | | | | | | | | update documentation | 2020-10-08 | -1/+14 | ||
| | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | | | | | | | | remove redundant if statement | 2020-10-08 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | | | | | | | | remove redundant if statement | 2020-10-08 | -2/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | | | | | | | | Merge branch 'smart_syncing_users' of https://github.com/RohanJnr/bot into ↵ | 2020-10-07 | -14/+60 | ||
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | smart_syncing_users | ||||
| | | | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into smart_syncing_users | 2020-10-07 | -14/+60 | ||
| | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | | | | | | | | | | | Merge pull request #1218 from Numerlor/gitignore-log | 2020-10-06 | -0/+1 | ||
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | Include rolled over bot logs in gitignore | ||||
| | | * | | | | | | | | | | | | | | | | | | | | | Merge branch 'master' into gitignore-log | 2020-10-06 | -2/+50 | ||
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | | | | | | | | | | | PR #1216 Starify: correctly show old nick | 2020-10-06 | -2/+3 | ||
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | Fix old nick in superstarify reason | 2020-10-06 | -2/+3 | ||
| | |/ / / / / / / / / / / / / / / / / / / / / | |||||
| | * | | | | | | | | | | | | | | | | | | | | | Merge pull request #1215 from python-discord/joseph/verification | 2020-10-06 | -0/+47 | ||
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support alternate gating methods | ||||
| | | * | | | | | | | | | | | | | | | | | | | | | Use .get() instead of index for fetching is_pending property | 2020-10-06 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | Correct raw_member to member in verification on_join | 2020-10-06 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | Reword on_join comment for alternate gate members | 2020-10-06 | -1/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | Clear up comment around DM send | 2020-10-06 | -0/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | Reword cache creation comment | 2020-10-06 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | Use clearer variable names in list comprehensions | 2020-10-06 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | Merge get and pop into one conditional | 2020-10-06 | -3/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | Add type annotation to on_member_update listener | 2020-10-06 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | | | | | | | | | | Support users with alternate gating methods | 2020-10-06 | -0/+42 | ||
| | |/ / / / / / / / / / / / / / / / / / / / / | |||||
| | | * / / / / / / / / / / / / / / / / / / / | Include rolled over logs in gitignore | 2020-10-06 | -0/+1 | ||
| | |/ / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RotatingFileHandler appends .# to log names when rolling over to a new file. | ||||
| | | | | * | | | | | | | | | | | | | | | | | Merge branch 'master' into smart_syncing_users | 2020-10-04 | -280/+340 | ||
| | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |||||
| | | | * | | | | | | | | | | | | | | | | | | | Refactor tests to use updated changes to syncer.py and API. | 2020-10-07 | -58/+59 | ||
| | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | | | | | | | | improve code efficiency and use updated API changes to pagination | 2020-10-07 | -98/+48 | ||
| | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | | | | | | | | Merge remote-tracking branch 'upstream/master' into smart_syncing_users | 2020-10-04 | -280/+340 | ||
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / / / / / / / / / / / / | | | |/| / / / / / / / / / / / / / / / / / | | | | |/ / / / / / / / / / / / / / / / / | |||||
| | | | * | | | | | | | | | | | | | | | | | | remove un-used variable | 2020-10-02 | -1/+0 | ||
| | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | | | | | | | Merge branch 'master' into smart_syncing_users | 2020-10-02 | -228/+99 | ||
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | | | | | | | Refactor unit tests UserSyncerSyncTests to use changes made to UserSyncer in ↵ | 2020-10-02 | -7/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _syncers.py | ||||
| | | | * | | | | | | | | | | | | | | | | | | update UserSyncerDiffTests Tests to use changes made to API calls. | 2020-10-02 | -6/+32 | ||
| | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | | | | | | | Merge branch 'master' into smart_syncing_users | 2020-10-01 | -639/+330 | ||
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |||||
| | | | * | | | | | | | | | | | | | | | | | | | remove redundant type hints and improve existing function annotations | 2020-10-01 | -8/+8 | ||
| | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | | | | | | | | modify tests to use paginated response. | 2020-09-27 | -6/+37 | ||
| | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | | | | | | | | Merge branch 'master' into smart_syncing_users | 2020-09-25 | -1970/+1178 | ||
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |||||
| | | | * | | | | | | | | | | | | | | | | | | | | Update users on bot start via HTTP PATCH method and send only user ID and ↵ | 2020-09-25 | -3/+27 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the modified user data. | ||||
| | | | * | | | | | | | | | | | | | | | | | | | | fix type and add variable type hinting | 2020-09-22 | -2/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | | | | | | | | | Refactor code to make use of bulk create and update API endpoints. | 2020-09-22 | -5/+6 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of creating and updating a single user at a time, a list of dicts will be sent for bulk update and creation. | ||||
| | | | * | | | | | | | | | | | | | | | | | | | | Merge remote-tracking branch 'upstream/master' into smart_syncing_users | 2020-09-21 | -257/+301 | ||
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |||||
| | | | * | | | | | | | | | | | | | | | | | | | | | refactor code to GET users from site endpoint `bot/users` with pagination | 2020-09-21 | -1/+29 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added method to recursively GET users if paginated and another method to parse URL and return endpoint and query parameters. | ||||
| | | | | | | | | | | | | | | | | * | | | | | | | | Silence: fix scheduled tasks not being cancelled on unload | 2020-10-09 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | * | | | | | | | | Silence tests: make _async_init attribute tests more robust | 2020-10-08 | -7/+11 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | * | | | | | | | | Silence: remove _mod_log_channel attribute | 2020-10-08 | -3/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's only used as an argument to `SilenceNotifier`, so it doesn't need to be an instance attribute. | ||||
| | | | | | | | | | | | | | | | | * | | | | | | | | Silence: add to notifier when indefinite rather than temporary | 2020-10-08 | -7/+7 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Accidentally swapped the logic in a previous commit during a refactor. | ||||
| | | | | | | | | | | | | | | | | * | | | | | | | | Silence tests: fix unawaited coro warnings | 2020-10-07 | -2/+7 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because the Scheduler is mocked, it doesn't actually do anything with the coroutines passed to the schedule() functions, hence the warnings. | ||||
| | | | | | | | | | | | | | | | | * | | | | | | | | Silence: rename _init_cog to _async_init | 2020-10-06 | -15/+15 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | | | | | | * | | | | | | | | Silence: refactor _silence | 2020-10-06 | -33/+32 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename to `_silence_overwrites` * Reduce responsibilities to only setting permission overwrites * Log in `silence` instead * Add to notifier in `silence` instead | ||||
| | | | | | | | | | | | | | | | | * | | | | | | | | Silence: move unsilence scheduling to a separate function | 2020-10-06 | -8/+13 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||