mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
⬆ Bump version to 0.5.2
This commit is contained in:
parent
463d5c6776
commit
eefae69a9d
3 changed files with 8 additions and 7 deletions
8
poetry.lock
generated
8
poetry.lock
generated
|
@ -318,7 +318,7 @@ socks = ["PySocks (>=1.5.6,!=1.5.7)", "win-inet-pton"]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "royalnet"
|
name = "royalnet"
|
||||||
version = "6.5.4"
|
version = "6.5.5"
|
||||||
description = "A multipurpose bot framework"
|
description = "A multipurpose bot framework"
|
||||||
category = "main"
|
category = "main"
|
||||||
optional = false
|
optional = false
|
||||||
|
@ -530,7 +530,7 @@ multidict = ">=4.0"
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "1.1"
|
lock-version = "1.1"
|
||||||
python-versions = "^3.8"
|
python-versions = "^3.8"
|
||||||
content-hash = "34f30c042ae9efcdde3ee1b878d6c0aeadcb3ec571e89a62b28a4d6a92150e7f"
|
content-hash = "e58dfc5810fca4d482db91d588c9be4af12f3dfee4b7df4c4dfa872aff074bb5"
|
||||||
|
|
||||||
[metadata.files]
|
[metadata.files]
|
||||||
aiohttp = [
|
aiohttp = [
|
||||||
|
@ -835,8 +835,8 @@ requests = [
|
||||||
{file = "requests-2.25.1.tar.gz", hash = "sha256:27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804"},
|
{file = "requests-2.25.1.tar.gz", hash = "sha256:27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804"},
|
||||||
]
|
]
|
||||||
royalnet = [
|
royalnet = [
|
||||||
{file = "royalnet-6.5.4-py3-none-any.whl", hash = "sha256:68d30fdd00653a5e79eab2b22a8c5bb16103e08e8674ec8f4b13ff1bdf1d33d2"},
|
{file = "royalnet-6.5.5-py3-none-any.whl", hash = "sha256:a204e48f024504a89cd81cefe0dd798f67c89d942a045d2e85552d42f7f362f8"},
|
||||||
{file = "royalnet-6.5.4.tar.gz", hash = "sha256:fbab17b911c2ee200c0f7bfd5d2bcc4d1d3f9771b41ab64a848a08cdd464e3d8"},
|
{file = "royalnet-6.5.5.tar.gz", hash = "sha256:4f9f59d8a1360ee1296c8c8a877e74139996e88ac05001c0f190fdac239991d6"},
|
||||||
]
|
]
|
||||||
snowballstemmer = [
|
snowballstemmer = [
|
||||||
{file = "snowballstemmer-2.1.0-py2.py3-none-any.whl", hash = "sha256:b51b447bea85f9968c13b650126a888aabd4cb4463fca868ec596826325dedc2"},
|
{file = "snowballstemmer-2.1.0-py2.py3-none-any.whl", hash = "sha256:b51b447bea85f9968c13b650126a888aabd4cb4463fca868ec596826325dedc2"},
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "royalnet-discordpy"
|
name = "royalnet-discordpy"
|
||||||
version = "0.5.1"
|
version = "0.5.2"
|
||||||
description = "A Discord.py-based frontend for the royalnet.engineer module."
|
description = "A Discord.py-based frontend for the royalnet.engineer module."
|
||||||
authors = ["Stefano Pigozzi <me@steffo.eu>"]
|
authors = ["Stefano Pigozzi <me@steffo.eu>"]
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
|
@ -18,7 +18,7 @@ classifiers = [
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.8"
|
python = "^3.8"
|
||||||
royalnet = "~6.5.0"
|
royalnet = "~6.5.5"
|
||||||
click = "^7.1.2"
|
click = "^7.1.2"
|
||||||
"discord.py" = "^1.7.1"
|
"discord.py" = "^1.7.1"
|
||||||
|
|
||||||
|
|
|
@ -55,6 +55,8 @@ class DiscordpyPDAImplementation(engi.ConversationListImplementation):
|
||||||
.. todo:: Document this.
|
.. todo:: Document this.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
self._register_events()
|
||||||
|
|
||||||
def _register_events(self):
|
def _register_events(self):
|
||||||
"""
|
"""
|
||||||
.. todo:: Document this.
|
.. todo:: Document this.
|
||||||
|
@ -120,7 +122,6 @@ class DiscordpyPDAImplementation(engi.ConversationListImplementation):
|
||||||
|
|
||||||
async def run(self) -> t.NoReturn:
|
async def run(self) -> t.NoReturn:
|
||||||
await self.client.login(token=self.bot_token)
|
await self.client.login(token=self.bot_token)
|
||||||
self._register_events()
|
|
||||||
await self.client.connect(reconnect=True)
|
await self.client.connect(reconnect=True)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue