| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | | | | | | | | | Allow specifying a channel to send !embed embeds | 2020-07-28 | -3/+7 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Update IDs of Code Jam roles | 2020-07-27 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've updated the IDs of the two Code Jam Roles to the newly create roles we have. | ||||
| | * | | | | | | | | | Fix: Implicit string concatenation considered harmful | 2020-07-24 | -4/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python joins two string adjacent string literals implicitly, which may cause unintended side effects when used with certain string methods. >>> 'A' ' '.join(['1', '2', '3']) '1A 2A 3' | ||||
| | * | | | | | | | | | Merge pull request #1064 from python-discord/bug/1036/empty-embed-fields | 2020-07-23 | -2/+5 | ||
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | Check that embed desc is not Empty before stripping. | ||||
| | | * \ \ \ \ \ \ \ \ | Merge branch 'master' into bug/1036/empty-embed-fields | 2020-07-23 | -65/+88 | ||
| | | |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | | | |||||
| | * | | | | | | | | | | Disabled burst_shared filter temporarily | 2020-07-23 | -4/+0 | ||
| | | | | | | | | | | | | |||||
| | * | | | | | | | | | | Merge pull request #1062 from python-discord/bug/util/897/truncate-charinfo | 2020-07-22 | -21/+15 | ||
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Truncate charinfo results | ||||
| | | * \ \ \ \ \ \ \ \ \ | Merge branch 'master' into bug/util/897/truncate-charinfo | 2020-07-22 | -25/+234 | ||
| | | |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | | | |||||
| | * | | | | | | | | | | | Merge pull request #1063 from python-discord/bug/util/jams-multi-categories | 2020-07-22 | -40/+73 | ||
| | |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Support multiple categories for code jam team creation | ||||
| | | * | | | | | | | | | | | Jam tests: use the MAX_CHANNELS constant more | 2020-07-22 | -4/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's clearer to write MAX_CHANNELS - 2 than a literal 48. | ||||
| | | * | | | | | | | | | | | Jam tests: assert equality of new category | 2020-07-22 | -1/+2 | ||
| | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | Jam tests: add subtests to non-existent category test | 2020-07-22 | -7/+18 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test has to account for not only the name not matching, but also a lack of available spaces for new channels. | ||||
| | | * | | | | | | | | | | | Jam tests: fix category test | 2020-07-22 | -14/+24 | ||
| | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | Jams: create a new category if others are full | 2020-07-22 | -20/+31 | ||
| | |/ / / / / / / / / / / | |||||
| | | * | | | | | | | | | | Charinfo: correct char limit used in error message | 2020-07-22 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Kieran Siek <[email protected]> | ||||
| | | * | | | | | | | | | | Charinfo: up char limit and reduce line limit | 2020-07-22 | -4/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pagination means more characters can be supported without cluttering anything. It also means infinite lines, so there's no longer a need to squeeze out the most from a single page. Reducing the line limit leads to a smaller, tidier presentation. | ||||
| | | * | | | | | | | | | | Charinfo: use more descriptive field name | 2020-07-22 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the raw field is displayed on every page, but pages are incomplete, it may be unclear whether the field's value is for the current page or for all pages. Co-authored-by: Kieran Siek <[email protected]> | ||||
| | | * | | | | | | | | | | Charinfo: paginate the results | 2020-07-21 | -6/+6 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pagination ensures the results will never go over the char limit for an embed. Fixes #897 Fixes BOT-3D | ||||
| | | * | | | | | | | | | | Charinfo: use send_denial helper | 2020-07-21 | -13/+7 | ||
| | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | Check that embed desc is not Empty before stripping. | 2020-07-23 | -2/+5 | ||
| | | |/ / / / / / / / / | |/| | | | | | | | | | |||||
| | * | | | | | | | | | | Merge pull request #957 from ks129/jam-test | 2020-07-22 | -17/+193 | ||
| | |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | | | Code Jams unit tests | ||||
| | | * | | | | | | | | | Merge branch 'master' into jam-test | 2020-07-22 | -869/+3594 | ||
| | | |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: space out lines for readability | 2020-07-22 | -0/+6 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: remove default_args attribute | 2020-07-22 | -4/+3 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kind of redundant since it's only used by two tests. | ||||
| | | * | | | | | | | | | Jam Tests: re-arrange tests to follow definition order in the cog | 2020-07-22 | -10/+10 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: fix utils patch | 2020-07-22 | -4/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stop needs to be called on the patcher, not the mock. Furthermore, using addCleanup is safer than tearDown because the latter may not be called if an exception is raised in setUp. | ||||
| | | * | | | | | | | | | Jam Tests: Fix `test_duplicate_member_provided` assertions | 2020-06-13 | -1/+3 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: Fix wrong function name and convert them to mocks | 2020-06-13 | -1/+3 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: Simplify and make tests more secure | 2020-06-13 | -6/+4 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jams: Fix `get_overwrites` return type | 2020-06-13 | -2/+2 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: Update `Context` to `Guild` for tests too | 2020-06-13 | -19/+19 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jams: Use `Guild` instead `Context` for helper functions | 2020-06-13 | -19/+19 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Fix `create_channels`, `get_category` docstrings | 2020-06-13 | -2/+2 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: Apply recent command splitting to `test_jam_roles_adding` | 2020-06-11 | -2/+2 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: Remove unnecessary `Context` mock resets | 2020-06-11 | -2/+0 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: Implement default arguments | 2020-06-11 | -4/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid repeating same arguments, added default arguments that is unpacked on function call. | ||||
| | | * | | | | | | | | | Jam Tests: Apply recent changes to `test_category_dont_exist` | 2020-06-11 | -2/+1 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: Simplify and update `test_category_channel_exist` | 2020-06-11 | -3/+1 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: Merge text and voice channel creation tests | 2020-06-11 | -21/+24 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: Apply recent changes to overwrites test | 2020-06-11 | -2/+1 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: Add more assertions to result message sending test | 2020-06-11 | -1/+7 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: Make early exiting test more secure | 2020-06-11 | -2/+6 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jams: Convert some functions to staticmethod | 2020-06-11 | -3/+6 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jams: Move roles adding to another function from inside of command | 2020-06-11 | -8/+11 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jams: Change return plain text to channel mention in `create_channels` | 2020-06-11 | -1/+1 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jams: Move channels creation to new function instead inside command | 2020-06-11 | -19/+26 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jams: Move overwrites generation to outside of command | 2020-06-11 | -22/+28 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jams: Move category checking and creation to another function | 2020-06-11 | -16/+22 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: Use class member of patch instead decorator on most of tests | 2020-06-11 | -21/+19 | ||
| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | Jam Tests: Fix `test_result_sending` docstring | 2020-06-11 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]> | ||||