1
Fork 0
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:
Steffo 2020-03-31 01:01:37 +02:00
parent 737cf508c4
commit c1680ed78d

View file

@ -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