| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | | | | | Merge branch 'master' into unittest-mentions | 2019-12-13 | -558/+2166 | ||
| | |\ \ \ \ \ | | | |/ / / | | |/| | | | |||||
| | * | | | | | Specify assertion to be a tuple comparison | 2019-11-14 | -1/+1 | ||
| | | | | | | | |||||
| | * | | | | | Make complex test cases namedtuples, recognize between various authors, pass ↵ | 2019-11-14 | -12/+43 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | config to subTest | ||||
| | * | | | | | Hold recent_messages in a list to respect type hint, set config in setUp | 2019-11-14 | -5/+8 | ||
| | | | | | | | |||||
| | * | | | | | Adjust attachments rule unit test to correcty build the arguments for the ↵ | 2019-11-14 | -7/+11 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | tested rule | ||||
| | * | | | | | Fix bug in attachments rule where last_message could potentially count twice ↵ | 2019-11-14 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | in the sum of attachments | ||||
| | * | | | | | Use async_test helper to simplify coro testing | 2019-11-13 | -9/+14 | ||
| | | | | | | | |||||
| | * | | | | | Adjust attachments rule to use MockMessage, restructure test cases | 2019-11-13 | -20/+23 | ||
| | | | | | | | |||||
| | * | | | | | Adjust links rule to use proper MockMessage | 2019-11-13 | -14/+10 | ||
| | | | | | | | |||||
| | * | | | | | Merge branch 'master' into unittest-mentions | 2019-11-13 | -179/+187 | ||
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Testing methodology was adjusted in upstream repo. Merging the relevant changes. | ||||
| | * | | | | | | Adjust incorrect type hint | 2019-11-09 | -1/+1 | ||
| | | | | | | | | |||||
| | * | | | | | | Use MockMessage instead of custom FakeMessage | 2019-11-09 | -15/+11 | ||
| | | | | | | | | |||||
| | * | | | | | | Adjust type hint to correctly represent internal type | 2019-11-09 | -1/+1 | ||
| | | | | | | | | |||||
| | * | | | | | | Use range to build mock mentions list | 2019-11-09 | -1/+1 | ||
| | | | | | | | | |||||
| | * | | | | | | Adjust docstring asterisk to backtick for consistency | 2019-11-09 | -1/+1 | ||
| | | | | | | | | |||||
| | * | | | | | | Add missing docstring | 2019-11-09 | -0/+1 | ||
| | | | | | | | | |||||
| | * | | | | | | Add unit test for mentions antispam rule | 2019-11-09 | -0/+98 | ||
| | | | | | | | | |||||
| | | | | * | | | Whitelist Discord Testers invite link | 2019-12-10 | -0/+1 | ||
| | | | | | | | | |||||
| | | | | | * | | ModLog: support self_stream voice state | 2019-12-18 | -1/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This feature will be available in discord.py 1.3. | ||||
| | | | | | * | | ModLog: change voice state embed icon and colour | 2019-12-18 | -5/+22 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a red icon when leaving or mute/deafened. Use a green icon when joining or unmuted/undeafened. Use a blue icon when changing channels or any other possible change. | ||||
| | | | | | * | | Constants: add voice state emotes | 2019-12-18 | -0/+8 | ||
| | | | | | | | | |||||
| | | | | | * | | ModLog: exclude afk attribute from voice state log | 2019-12-11 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The log will already show that the channel changes to the AFK channel so showing the attribute change is redundant. If the channel were not clearly named "AFK" then it might've made sense to keep the attribute. | ||||
| | | | | | * | | ModLog: exclude most channel attributes from voice state diff | 2019-12-11 | -2/+8 | ||
| | | | | | | | | |||||
| | | | | | * | | ModLog: make voice state event respect ignored channels | 2019-12-11 | -1/+4 | ||
| | | | | | | | | |||||
| | | | | | * | | ModLog: use Unicode arrow when displaying value changes | 2019-12-11 | -8/+8 | ||
| | | | | | | | | |||||
| | | | | | * | | ModLog: log voice state updates | 2019-12-11 | -0/+51 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add corresponding event to the Event enum so the event can be ignored | ||||
| | | | | | * | | Add constants for voice state logging | 2019-12-10 | -1/+5 | ||
| | | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ID for the voice-log channel. * Add IDs for admins & staff voice channels and make the mod log ignore them. | ||||
| | | | | | * | Move Expiry converter alias to converters.py | 2019-12-23 | -10/+10 | ||
| | | | | | | | |||||
| | | | | | * | Refactor user type aliases | 2019-12-23 | -15/+15 | ||
| | | | | | | | |||||
| | | | | | * | Create an alias for a Member + FetchedUser converter | 2019-12-23 | -20/+23 | ||
| | | | | | | | |||||
| | | | | | * | Make FetchedUser a subclass of UserConverter | 2019-12-22 | -50/+52 | ||
| | | | | | | | |||||
| | | | | | * | Use log.warning instead of the deprecated log.warn | 2019-12-22 | -1/+1 | ||
| | | | | | | | |||||
| | | | | | * | Merge branch 'master' into fetched-user | 2019-12-22 | -1/+18 | ||
| | | | | | |\ | |_|_|_|_|/ |/| | | | | | |||||
| * | | | | | | Merge pull request #706 from python-discord/SebastiaanZ-add-duckies | 2019-12-22 | -1/+13 | ||
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | Add new duckies to the constants | ||||
| | * | | | | | | Add ducky attributes to bot.constants | 2019-12-22 | -0/+6 | ||
| | | | | | | | | | | | | | | | | | | | | | | I have added attributes to the Emojis class in `bot.constants` for the newly added ducky emoji constants. | ||||
| | * | | | | | | Add ducky constants to make duckpond work | 2019-12-22 | -1/+7 | ||
| |/ / / / / / | | | | | | | | | | | | | I have added the IDs of the new duckies we have to the constants | ||||
| * | | | | | | Allow PSD's and more on antimalware whitelist | 2019-12-22 | -0/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also includes the following related formats: - .svg - .ai (Adobe Illustrator) - .aep (Adobe After Effects) - .xcf (GIMP | ||||
| | | | | | * | Show only status code in Discord msg when infraction post fails | 2019-12-22 | -7/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When debugging, the response_text exceeds the character limit since it's basically an entire HTML document. | ||||
| | | | | | * | Use more specific error message for infraction DM user fetch | 2019-12-22 | -1/+1 | ||
| | | | | | | | |||||
| | | | | | * | Remove unreachable break in post_infraction loop | 2019-12-22 | -3/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | * Show the user in the post_infraction error log message | ||||
| | | | | | * | Catch HTTPException in fetching, only fetch if isn't User or Member | 2019-12-22 | -8/+12 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's now a check to see if the `user` argument (possibly a `discord.Object`) needs to be made a `User`, instead of doing so directly, to avoid unnecessary requests to the Discord API. Besides that, a possible HTTPException is catched if it the fetch fails, cancelling the message to be send to the user (which would make the following calls fail later on for not being of the proper type.) | ||||
| | | | | | * | Make `watchchannels` use `FetchedUser` instead of `proxy_user` | 2019-12-22 | -31/+24 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes also removes the original `proxy_user` used by `watchchannels` the attributes in its `discord.Object` object to the one returned by FetchedUser. | ||||
| | | | | | * | Fix bug to log if `user` is either `Member` or `User` | 2019-12-22 | -1/+1 | ||
| | | | | | | | |||||
| | | | | | * | Move type declarations for annotations and converters | 2019-12-22 | -4/+7 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out how it was originally was the best idea. Now the `infractions` module imports `FetchedUser` and makes a `typing.Union` between it and `utils.UserTypes`. The usage of `FetchedUser` isn't needed in `utils` at all, and it shouldn't be used for/as type hinting there. | ||||
| | | | | | * | Minor refactor moving `return ...` | 2019-12-22 | -3/+1 | ||
| | | | | | | | |||||
| | | | | | * | Merge branch 'fetched-user' of https://github.com/manusaurio/bot into ↵ | 2019-12-22 | -1/+1 | ||
| | | | | | |\ | | | | | | | | | | | | | | | | | | | | | | fetched-user | ||||
| | | | | | | * | Add space in condition | 2019-12-22 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Mark <[email protected]> | ||||
| | | | | | * | | Add descriptive message to exception if user from API doesn't exist | 2019-12-22 | -1/+1 | ||
| | | | | | |/ | |||||
| | | | | | * | Correct log messages levels, add log messages and ctx.send message | 2019-12-22 | -7/+12 | ||
| | | | | | | | |||||
| | | | | | * | Merge branch 'master' into fetched-user | 2019-12-20 | -29/+26 | ||
| | | | | | |\ | |_|_|_|_|/ |/| | | | | | |||||