Skip to content

Commit d447506

Browse files
authored
Merge pull request #2820 from kyb3r/discordpy-bump
Discordpy bump
2 parents 35095ab + 178ea9c commit d447506

15 files changed

+811
-800
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,34 @@ This project mostly adheres to [Semantic Versioning](https://semver.org/spec/v2.
77
however, insignificant breaking changes do not guarantee a major version bump, see the reasoning [here](https://github.com/kyb3r/modmail/issues/319). If you're a plugins developer, note the "BREAKING" section.
88

99

10+
# v3.5.0
11+
12+
Fixed discord.py issue.
13+
14+
### Added
15+
16+
- A confirmation when you manually delete a thread message embed.
17+
- Config var `enable_eval` defaults true, set `enable_eval=no` to disable the eval command. (GH #2803)
18+
- Added `?plugins reset` command to completely reset everything related to plugins. This will fix some problems caused by broken plugins in the file system.
19+
- Support private GitHub repos for plugins (thanks to @officialpiyush pr#2767)
20+
21+
### Changed
22+
23+
- Bump discord.py version to v1.3.3.
24+
- Renamed `bot.owner_ids` to `bot.bot_owner_ids` as the attribute is now defined internally for team support.
25+
- Deleting channel manually will now close the thread.
26+
- Deleting messages will no longer cause the bot to produce warnings.
27+
- Plugins will automatically be removed when it fails to load.
28+
- Moved all database-related activities to clients.py under MongoDBClient, with possible future hook for additional database support.
29+
- `bot.db` is deprecated in favour of `bot.api.db` and will be removed in the future.
30+
- Deprecated `bot.plugin_db.get_partition` in favour of `bot.api.get_plugin_partition` (not final).
31+
- Deprecated `MONGO_URI` config var (but will keep support in the future) in favour of `CONNECTION_URI` and `DATABASE_TYPE`. Right now there is one supported database - "mongodb", which is the default.
32+
33+
### Fixed
34+
35+
- Plugins not loading in Windows OS. Now uses proactor event loop for asyncio which should fix this.
36+
37+
1038
# v3.4.1
1139

1240
### Fixed

Pipfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ url = "https://pypi.org/simple"
44
verify_ssl = true
55

66
[dev-packages]
7-
black = "==19.3b0"
7+
black = "==19.10b0"
88
pylint = "*"
99
bandit = "==1.6.2"
1010

@@ -17,11 +17,11 @@ motor = ">=2.0.0"
1717
natural = "==0.2.0"
1818
isodate = ">=0.6.0"
1919
dnspython = "~=1.16.0"
20-
parsedatetime = "==2.5"
21-
aiohttp = "<3.6.0,>=3.3.0"
20+
parsedatetime = "==2.6"
21+
aiohttp = ">=3.6.0,<3.7.0"
2222
python-dotenv = ">=0.10.3"
2323
pipenv = "*"
24-
"discord.py" = "==1.2.5"
24+
"discord.py" = "==1.3.4"
2525

2626
[requires]
2727
python_version = "3.7"

Pipfile.lock

Lines changed: 308 additions & 224 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
worker: pipenv run bot
1+
worker: python bot.py

app.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@
1515
"description": "Comma separated user IDs of people that are allowed to use owner only commands. (eval).",
1616
"required": true
1717
},
18-
"MONGO_URI": {
19-
"description": "Mongo DB connection URI for self-hosting your data.",
18+
"CONNECTION_URI": {
19+
"description": "The connection URI for your database.",
2020
"required": true
2121
},
22+
"DATABASE_TYPE": {
23+
"description": "The type of your database. There is only one supported database at the moment - MongoDB (default).",
24+
"required": false
25+
},
2226
"LOG_URL": {
2327
"description": "The url of the log viewer app for viewing self-hosted logs.",
2428
"required": true

0 commit comments

Comments
 (0)