from abc import ABCMeta from commands.command_base import AbstractCommand class CommandTest(AbstractCommand, metaclass=ABCMeta): command = "!test" def __init__(self): super().__init__(CommandTest.command, command_type=AbstractCommand.CommandType.TWITCH) def do_command(self, bot, twitch_message): print("!test Detected") twitch_message.chat.send("test acknowledged")