Skip to content

Commit d7c511d

Browse files
committed
3.3.2-dev3 fallback category
1 parent a0d820b commit d7c511d

File tree

5 files changed

+21
-8
lines changed

5 files changed

+21
-8
lines changed

.github/workflows/lints.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
name: Modmail Workflow
22

3-
on: [push, pull_request, pull_request_review]
3+
on: [push, pull_request]
44

55
jobs:
66
code-style:
7-
runs-on: ${{ matrix.os }}
7+
8+
# runs-on: ${{ matrix.os }}
9+
# strategy:
10+
# fail-fast: false
11+
# matrix:
12+
# os: [ubuntu-latest, windows-latest, macOS-latest]
13+
# python-version: [3.6, 3.7]
14+
15+
runs-on: ubuntu-latest
816
strategy:
917
fail-fast: false
1018
matrix:
11-
os: [ubuntu-latest, windows-latest, macOS-latest]
1219
python-version: [3.6, 3.7]
1320

1421
steps:

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ This project mostly adheres to [Semantic Versioning](https://semver.org/spec/v2.
77
however, insignificant breaking changes does not guarantee a major version bump, see the reasoning [here](https://github.com/kyb3r/modmail/issues/319).
88

99

10-
# v3.3.2-dev2
10+
# v3.3.2-dev3
1111

1212
### Added
1313

1414
- Thread cooldown!
1515
- Set via the new config var `thread_cooldown`.
1616
- Specify a time for the recipient to wait before allowed to create another thread.
17+
- Fallback Category (thanks to DAzVise PR#636)
18+
- Automatically created upon reaching the 50 channels limit.
19+
- Manually set fallback category with the config var `fallback_category_id`.
1720
- "enable" and "disable" support for yes or no config vars.
1821
- Added "perhaps you meant" section to `?config help`.
1922
- Multi-command alias is now more stable. With support for a single quote escape `\"`.

bot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.3.2-dev2"
1+
__version__ = "3.3.2-dev3"
22

33

44
import asyncio

core/config_help.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"`{prefix}config set main_category_id 9234932582312` (`9234932582312` is the category ID)"
1818
],
1919
"notes": [
20-
"If the Modmail category ended up being non-existent/invalid, Modmail will break. To fix this, run `{prefix}setup` again or set `main_category_id` to a valid category."
20+
"If the Modmail category ended up being non-existent/invalid, Modmail will break. To fix this, run `{prefix}setup` again or set `main_category_id` to a valid category.",
21+
"When the Modmail category is full, new channels will be created in the fallback category.",
22+
"See also: `fallback_category_id`."
2123
]
2224
},
2325
"fallback_category_id": {
@@ -27,7 +29,8 @@
2729
"`{prefix}config set fallback_category_id 9234932582312` (`9234932582312` is the category ID)"
2830
],
2931
"notes": [
30-
"If the Fallback category ended up being non-existent/invalid, Modmail will create a new one. To fix this, set `fallback_category_id` to a valid category."
32+
"If the Fallback category ended up being non-existent/invalid, Modmail will create a new one. To fix this, set `fallback_category_id` to a valid category.",
33+
"See also: `main_category_id`."
3134
]
3235
},
3336
"prefix": {

requirements.min.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ aiohttp==3.5.4
66
async-timeout==3.0.1
77
attrs==19.3.0
88
chardet==3.0.4
9-
discord.py==1.2.4
9+
discord.py==1.2.5
1010
dnspython==1.16.0
1111
emoji==0.5.4
1212
future==0.18.1

0 commit comments

Comments
 (0)