Skip to content

Commit

Permalink
3.3.2-dev3 fallback category
Browse files Browse the repository at this point in the history
  • Loading branch information
Taaku18 committed Nov 26, 2019
1 parent a0d820b commit d7c511d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 8 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
name: Modmail Workflow

on: [push, pull_request, pull_request_review]
on: [push, pull_request]

jobs:
code-style:
runs-on: ${{ matrix.os }}

# runs-on: ${{ matrix.os }}
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-latest, windows-latest, macOS-latest]
# python-version: [3.6, 3.7]

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: [3.6, 3.7]

steps:
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ This project mostly adheres to [Semantic Versioning](https://semver.org/spec/v2.
however, insignificant breaking changes does not guarantee a major version bump, see the reasoning [here](https://github.com/kyb3r/modmail/issues/319).


# v3.3.2-dev2
# v3.3.2-dev3

### Added

- Thread cooldown!
- Set via the new config var `thread_cooldown`.
- Specify a time for the recipient to wait before allowed to create another thread.
- Fallback Category (thanks to DAzVise PR#636)
- Automatically created upon reaching the 50 channels limit.
- Manually set fallback category with the config var `fallback_category_id`.
- "enable" and "disable" support for yes or no config vars.
- Added "perhaps you meant" section to `?config help`.
- Multi-command alias is now more stable. With support for a single quote escape `\"`.
Expand Down
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.3.2-dev2"
__version__ = "3.3.2-dev3"


import asyncio
Expand Down
7 changes: 5 additions & 2 deletions core/config_help.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"`{prefix}config set main_category_id 9234932582312` (`9234932582312` is the category ID)"
],
"notes": [
"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."
"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.",
"When the Modmail category is full, new channels will be created in the fallback category.",
"See also: `fallback_category_id`."
]
},
"fallback_category_id": {
Expand All @@ -27,7 +29,8 @@
"`{prefix}config set fallback_category_id 9234932582312` (`9234932582312` is the category ID)"
],
"notes": [
"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."
"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.",
"See also: `main_category_id`."
]
},
"prefix": {
Expand Down
2 changes: 1 addition & 1 deletion requirements.min.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ aiohttp==3.5.4
async-timeout==3.0.1
attrs==19.3.0
chardet==3.0.4
discord.py==1.2.4
discord.py==1.2.5
dnspython==1.16.0
emoji==0.5.4
future==0.18.1
Expand Down

0 comments on commit d7c511d

Please sign in to comment.