| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Bot: move connector/session recreation to a separate function | 2020-02-15 | -2/+5 | |
| | | | | | | The function itself doesn't need to be a coroutine. It just has to be called in a coroutine (or, more indirectly, in an async context?). | |||
| * | Bot: override login() instead of start() | 2020-02-15 | -4/+5 | |
| | | | | | | | The client can be used without running a bot so it makes more sense for the connector to be created when logging in, which is done in both cases, rather than in start(), which is only used when running a bot. | |||
| * | Bot: fix error trying to close a None session | 2020-02-14 | -1/+3 | |
| | | ||||
| * | Bot: add warning for when connector is a specified kwarg | 2020-02-13 | -0/+6 | |
| | | ||||
| * | Bot: avoid DeprecationWarning for aiohttp.AsyncResolver (fix #748) | 2020-02-13 | -15/+30 | |
| | | | | | | | | | | | | | | | AsyncResolver has to be created inside a coroutine so it's moved inside start(). Consequently, the APIClient session is also recreated inside start() now. When using clear(), the default connector is used for the session it recreates because clear() is not a coroutine. This should only affect requests made to the Discord API via the Client when not using it to run a bot; starting the bot will re-create the session with the custom connector. * Close connector and resolver when bot closes | |||
| * | API: accept additional session kwargs for recreate() | 2020-02-13 | -7/+16 | |
| | | | | | | | | | These kwargs are merged with the kwargs given when the APIClient was created. This is useful for facilitating changing the session's connector with a new instance when the session needs to be recreated. * Rename _session_args attribute to _default_session_kwargs | |||
| * | Merge pull request #747 from mosguinz/pagniation-fix | 2020-02-12 | -1/+1 | |
| |\ | | | | | Fix pagniation module for "last page" reaction | |||
| | * | Fix pagniation module for "last page" reaction | 2020-02-12 | -1/+1 | |
| |/ | | | | Fixes #746. | |||
| * | Merge pull request #625 from python-discord/emoji-cleanup | 2020-02-09 | -14/+19 | |
| |\ | | | | | Separate message/embed deletion and reaction deletion emojis | |||
| | * | Remove clear reaction from paginators | 2020-02-09 | -17/+2 | |
| | | | | | | | | | | | It could be confused with the delete reaction. Clearing reactions manually is rarely a useful feature anyway. | |||
| | * | Merge remote-tracking branch 'origin/master' into emoji-cleanup | 2020-02-08 | -2128/+4834 | |
| | |\ | |/ |/| | ||||
| * | | Merge pull request #743 from python-discord/dep/b734/discord.py-1.3 | 2020-02-07 | -39/+34 | |
| |\ \ | | | | | | | Update discord.py to 1.3.1 | |||
| | * | | Pin discord.py to 1.3.x | 2020-02-07 | -2/+2 | |
| | | | | ||||
| | * | | Update discord.py to 1.3.1 | 2020-02-07 | -39/+34 | |
| |/ / | ||||
| * | | Merge pull request #542 from python-discord/fuzzy-tag-search | 2020-02-07 | -9/+82 | |
| |\ \ | | | | | | | Make it easier for user to search for tags | |||
| | * \ | Merge branch 'master' into fuzzy-tag-search | 2020-02-07 | -313/+199 | |
| | |\ \ | |/ / |/| | | ||||
| * | | | Merge pull request #737 from python-discord/remove-prometheus | 2020-02-05 | -272/+128 | |
| |\ \ \ | | | | | | | | | Remove prometheus related code | |||
| | * \ \ | Merge branch 'master' into remove-prometheus | 2020-02-05 | -41/+71 | |
| | |\ \ \ | |/ / / |/| | | | ||||
| * | | | | Merge pull request #739 from python-discord/resources-move | 2020-02-05 | -2/+2 | |
| |\ \ \ \ | | | | | | | | | | | Move tools and questions guide to under resources | |||
| | * | | | | Add missing slash to asking good questions url. | 2020-02-06 | -1/+1 | |
| | | | | | | ||||
| | * | | | | Move tools and questions guide to under resources | 2020-02-05 | -2/+2 | |
| |/ / / / | | | | | | | | | | | | | | | | | After the wiki pages adjustment to the resources page, these two urls are needing to be updated to point to the new correct locations for each page. Tools will be under resources, and Asking Good Questions is a guide, so will be under Guides. | |||
| * | | | | Relay attachments to log channel before filters delete message (#630) | 2020-02-04 | -39/+69 | |
| |\ \ \ \ | | | | | | | | | | | Relay attachments to log channel before filters delete message | |||
| | * | | | | Use a trailing underscore to avoid name conflicts. | 2020-02-04 | -2/+2 | |
| | | | | | | | | | | | | | | | | Previously used a leading underscore, but that's usually meant for non-used names. | |||
| | * | | | | Change typehint name for the attachment-log constant | 2020-02-03 | -1/+1 | |
| | | | | | | ||||
| | * | | | | Merge branch 'master' into #549-show-attachments-staff | 2020-02-03 | -508/+1333 | |
| | |\ \ \ \ | |/ / / / |/| | | | | ||||
| | * | | | | Replace constant attachment-repost by the actual ID of #attachment-log | 2020-02-03 | -4/+3 | |
| | | | | | | ||||
| | * | | | | Relay attchments to #attachment_log | 2019-12-14 | -1/+2 | |
| | | | | | | ||||
| | * | | | | Merge branch 'master' into #549-show-attachments-staff | 2019-12-12 | -334/+1348 | |
| | |\ \ \ \ | ||||
| | * | | | | | AntiSpam: remove bot field from DeletionContext | 2019-12-03 | -14/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The destination channel can be retrieved be accessing a message's guild. * Remove unused queue_consumption_tasks attribute. | |||
| | * | | | | | ModLog: fix 0 message logs uploaded when no attachments given | 2019-12-03 | -8/+3 | |
| | | | | | | | ||||
| | * | | | | | AntiSpam: correct a function annotation | 2019-12-03 | -3/+3 | |
| | | | | | | | ||||
| | * | | | | | AntiSpam: replace reupload_attachments with send_attachments from utils | 2019-12-03 | -28/+6 | |
| | | | | | | | ||||
| | * | | | | | Utils: have send_attachments save attachments using the cached URL | 2019-12-03 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it more likely to successfully save an attachment after it's been deleted. | |||
| | * | | | | | Utils: log send_attachments failures instead of raising exceptions | 2019-12-03 | -1/+10 | |
| | | | | | | | ||||
| | * | | | | | Utils: add send_attachments param to disable linking to too-large files | 2019-12-03 | -7/+14 | |
| | | | | | | | ||||
| | * | | | | | Utils: use the guild's filesize_limit to determine max attachment size | 2019-12-03 | -4/+3 | |
| | | | | | | | ||||
| | * | | | | | Utils: support returning URLs from send_attachments | 2019-12-03 | -4/+8 | |
| | | | | | | | ||||
| | * | | | | | ModLog: use more generic type annotations | 2019-12-03 | -4/+4 | |
| | | | | | | | ||||
| | * | | | | | Merge branch 'master' into #549-show-attachments-staff | 2019-11-29 | -1055/+2005 | |
| | |\ \ \ \ \ | ||||
| | * | | | | | | Re-upload attachments to #attachment-log | 2019-11-28 | -1/+1 | |
| | | | | | | | | ||||
| | * | | | | | | Update try/except block in reupload_attachments() | 2019-11-28 | -2/+5 | |
| | | | | | | | | ||||
| | * | | | | | | Fix misspelling | 2019-11-28 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Mark <[email protected]> | |||
| | * | | | | | | Add try/except for attachment saving | 2019-11-27 | -5/+8 | |
| | | | | | | | | ||||
| | * | | | | | | Move attachments re-uploading to DeletionContext.add() | 2019-11-27 | -24/+47 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So they are re-uploaded before being deleted | |||
| | * | | | | | | Re-indent arguments | 2019-11-19 | -3/+3 | |
| | | | | | | | | ||||
| | * | | | | | | Use a context manager for the buffer | 2019-11-15 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Shirayuki Nekomata <[email protected]> | |||
| | * | | | | | | Re-post attachments | 2019-10-31 | -5/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before sending the attachments to API for logging, we now re-post them in the channel that have the id stored in the constant Guild.attachment_repost (it needs to be configured). These new links will never expires. | |||
| | | | | * | | | Merge branch 'master' into remove-prometheus | 2020-02-02 | -1/+1 | |
| | | | | |\ \ \ | |_|_|_|/ / / |/| | | | | | | ||||
| | | | | * | | | Remove prometheus related code | 2020-02-02 | -272/+128 | |
| | | | | | | | | ||||
| | | | | | * | | Made searching even stricter by searching from start of each word | 2020-02-05 | -11/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added regex back to sub and split by non-alphabet. - Now use two pointers to move from words to words. | |||
