mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-12-17 23:24:20 +00:00
Make serf an ABC
This commit is contained in:
parent
737cf508c4
commit
c1680ed78d
1 changed files with 2 additions and 1 deletions
|
@ -10,12 +10,13 @@ import royalnet.alchemy as ra
|
||||||
import royalnet.backpack.tables as rbt
|
import royalnet.backpack.tables as rbt
|
||||||
import royalnet.herald as rh
|
import royalnet.herald as rh
|
||||||
import traceback
|
import traceback
|
||||||
|
import abc
|
||||||
|
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class Serf:
|
class Serf(abc.ABC):
|
||||||
"""An abstract class, to be used as base to implement Royalnet bots on multiple interfaces (such as Telegram or
|
"""An abstract class, to be used as base to implement Royalnet bots on multiple interfaces (such as Telegram or
|
||||||
Discord)."""
|
Discord)."""
|
||||||
interface_name = NotImplemented
|
interface_name = NotImplemented
|
||||||
|
|
Loading…
Reference in a new issue