mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 11:34:18 +00:00
mocio
This commit is contained in:
parent
2631e20ccf
commit
b2988d9c2e
2 changed files with 1 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
[tool.poetry]
|
||||
name = "royalnet"
|
||||
version = "5.11.1"
|
||||
version = "5.11.2"
|
||||
description = "A multipurpose bot and web framework"
|
||||
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
||||
license = "AGPL-3.0+"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import royalnet.commands as rc
|
||||
import royalnet.serf.discord as rsd
|
||||
import royalnet.serf.matrix as rsm
|
||||
import royalnet.serf.telegram as rst
|
||||
import royalnet.utils as ru
|
||||
from ..tables.discord import Discord
|
||||
|
@ -86,8 +85,5 @@ class RoyalnetsyncCommand(rc.Command):
|
|||
await ru.asyncify(session.commit)
|
||||
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:
|
||||
raise rc.UnsupportedError(f"Unknown interface: {self.serf.__class__.__qualname__}")
|
||||
|
|
Loading…
Reference in a new issue