Praxis_Bot/commands/implemented/command_test.py
Alex Orid 541ad25af2 Changed Message Sending
I changed the send message function I use for the twitch commands.
2020-10-14 04:33:33 -04:00

18 lines
483 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)
def do_command(self, bot, twitch_message):
print("!test Detected")
bot.send_message("testing acknowledged")