1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
This commit is contained in:
Steffo 2020-08-21 02:57:09 +02:00
parent 2631e20ccf
commit b2988d9c2e
2 changed files with 1 additions and 5 deletions

View file

@ -5,7 +5,7 @@
[tool.poetry] [tool.poetry]
name = "royalnet" name = "royalnet"
version = "5.11.1" version = "5.11.2"
description = "A multipurpose bot and web framework" description = "A multipurpose bot and web framework"
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"] authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
license = "AGPL-3.0+" license = "AGPL-3.0+"

View file

@ -1,6 +1,5 @@
import royalnet.commands as rc import royalnet.commands as rc
import royalnet.serf.discord as rsd import royalnet.serf.discord as rsd
import royalnet.serf.matrix as rsm
import royalnet.serf.telegram as rst import royalnet.serf.telegram as rst
import royalnet.utils as ru import royalnet.utils as ru
from ..tables.discord import Discord from ..tables.discord import Discord
@ -86,8 +85,5 @@ class RoyalnetsyncCommand(rc.Command):
await ru.asyncify(session.commit) await ru.asyncify(session.commit)
await data.reply(f"↔️ Account {ds_user} synced to {ds_author}!") await data.reply(f"↔️ Account {ds_user} synced to {ds_author}!")
elif isinstance(self.serf, rsm.MatrixSerf):
raise rc.UnsupportedError(f"{self} hasn't been implemented for Matrix yet")
else: else:
raise rc.UnsupportedError(f"Unknown interface: {self.serf.__class__.__qualname__}") raise rc.UnsupportedError(f"Unknown interface: {self.serf.__class__.__qualname__}")