1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +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.herald as rh
import traceback
import abc
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
Discord)."""
interface_name = NotImplemented