22 lines
617 B
Python
22 lines
617 B
Python
from abc import ABCMeta
|
|
|
|
from commands.command_base import AbstractCommand
|
|
|
|
|
|
class CommandTest(AbstractCommand, metaclass=ABCMeta):
|
|
"""
|
|
this is a test command. and a poor excuse for a git commit.
|
|
"""
|
|
command = "!test"
|
|
|
|
def __init__(self):
|
|
super().__init__(CommandTest.command, command_type=AbstractCommand.CommandType.TWITCH)
|
|
self.help = ["MISSING HELP ENTRY",
|
|
"\nExample:","command \"PARAM\""]
|
|
|
|
def do_command(self, bot, twitch_message):
|
|
print("!test Detected")
|
|
bot.send_message("testing acknowledged")
|
|
|
|
def get_help(self):
|
|
return self.help |