From c1680ed78dad5c4826771a52c0a384493e5b7a12 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 31 Mar 2020 01:01:37 +0200 Subject: [PATCH] Make serf an ABC --- royalnet/serf/serf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/royalnet/serf/serf.py b/royalnet/serf/serf.py index db22afca..3888aff9 100644 --- a/royalnet/serf/serf.py +++ b/royalnet/serf/serf.py @@ -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