from abc import ABCMeta import tempText_Module from commands.command_base import AbstractCommand import thread_management_module import utilities_script as utilities class Command_Threading(AbstractCommand, metaclass=ABCMeta): """ this is the temptext command. """ command = "threads" def __init__(self): super().__init__(Command_Threading.command, n_args=5, command_type=AbstractCommand.CommandType.Praxis) self.help = ["This command controls the bot's threads.", "\nExample:", "thread list", "thread start \"Name\"", "thread end \"Name\""] self.isCommandEnabled = True def do_command(self, bot, user_message): thread_Module = thread_management_module() tempBool = True if tempBool == True: tempParsedMessage = user_message.message.split(" ") i = len(tempParsedMessage) if i > 2: if "list" in tempParsedMessage[1]: pass if "start" in tempParsedMessage[1]: pass if "end" in tempParsedMessage[1]: pass returnMessage = "@" + user_message.user.name + " did a thread thing!\n" bot.return_message(returnMessage) def get_help(self): return self.help