Split FlanaBot into multiple bots

This commit is contained in:
AlberLC
2022-11-08 20:33:01 +01:00
parent 569bed91ad
commit 5507236a73
4 changed files with 8 additions and 8 deletions

View File

@@ -12,9 +12,9 @@ from flanabot import constants
from flanabot.models import Chat, Message, Punishment from flanabot.models import Chat, Message, Punishment
# ----------------------------------------------------------------------------------------------------- # # ------------------------------------------------------------------------------------------------------- #
# --------------------------------------------- PENALTY_BOT --------------------------------------------- # # --------------------------------------------- PENALTY_BOT --------------------------------------------- #
# ----------------------------------------------------------------------------------------------------- # # ------------------------------------------------------------------------------------------------------- #
class PenaltyBot(MultiBot, ABC): class PenaltyBot(MultiBot, ABC):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)

View File

@@ -14,9 +14,9 @@ from flanabot import constants
from flanabot.models import ButtonsGroup, Message from flanabot.models import ButtonsGroup, Message
# ----------------------------------------------------------------------------------------------------- # # ---------------------------------------------------------------------------------------------------- #
# --------------------------------------------- POLL_BOT --------------------------------------------- # # --------------------------------------------- POLL_BOT --------------------------------------------- #
# ----------------------------------------------------------------------------------------------------- # # ---------------------------------------------------------------------------------------------------- #
class PollBot(MultiBot, ABC): class PollBot(MultiBot, ABC):
# ----------------------------------------------------------- # # ----------------------------------------------------------- #
# -------------------- PROTECTED METHODS -------------------- # # -------------------- PROTECTED METHODS -------------------- #

View File

@@ -14,9 +14,9 @@ from flanabot import constants
from flanabot.models import Action, BotAction, Message from flanabot.models import Action, BotAction, Message
# ----------------------------------------------------------------------------------------------------- # # ------------------------------------------------------------------------------------------------------- #
# --------------------------------------------- SCRAPER_BOT --------------------------------------------- # # --------------------------------------------- SCRAPER_BOT --------------------------------------------- #
# ----------------------------------------------------------------------------------------------------- # # ------------------------------------------------------------------------------------------------------- #
class ScraperBot(MultiBot, ABC): class ScraperBot(MultiBot, ABC):
# ----------------------------------------------------------- # # ----------------------------------------------------------- #
# -------------------- PROTECTED METHODS -------------------- # # -------------------- PROTECTED METHODS -------------------- #

View File

@@ -16,9 +16,9 @@ from flanabot import constants
from flanabot.models import Action, BotAction, ButtonsGroup, Message, WeatherChart from flanabot.models import Action, BotAction, ButtonsGroup, Message, WeatherChart
# ----------------------------------------------------------------------------------------------------- # # ------------------------------------------------------------------------------------------------------- #
# --------------------------------------------- WEATHER_BOT --------------------------------------------- # # --------------------------------------------- WEATHER_BOT --------------------------------------------- #
# ----------------------------------------------------------------------------------------------------- # # ------------------------------------------------------------------------------------------------------- #
class WeatherBot(MultiBot, ABC): class WeatherBot(MultiBot, ABC):
# ----------------------------------------------------------- # # ----------------------------------------------------------- #
# -------------------- PROTECTED METHODS -------------------- # # -------------------- PROTECTED METHODS -------------------- #