# Path: twistedbot/plugins/base.py
# class PluginChatBase(PluginBase):
# 
#     def send_chat_message(self, msg):
#         self.world.chat.send_chat_message(msg)
# 
#     @abc.abstractproperty
#     def command_verb(self):
#         pass
# 
#     @property
#     def aliases(self):
#         return []
# 
#     @abc.abstractproperty
#     def help(self):
#         pass
# 
#     @abc.abstractmethod
#     def command(self, sender, command, args):
#         pass


from twistedbot.plugins.base import PluginChatBase



class Stop(PluginChatBase):
    @property
    def command_verb(self):
        return "stop"

    @property
    def help(self):
        return "cancel current activity"

    def command(self, sender, command, args):

# Path: twistedbot/plugins/base.py
# class PluginChatBase(PluginBase):
# 
#     def send_chat_message(self, msg):
#         self.world.chat.send_chat_message(msg)
# 
#     @abc.abstractproperty
#     def command_verb(self):
#         pass
# 
#     @property
#     def aliases(self):
#         return []
# 
#     @abc.abstractproperty
#     def help(self):
#         pass
# 
#     @abc.abstractmethod
#     def command(self, sender, command, args):
#         pass


# Path: twistedbot/plugins/core/chat_stop.py
from twistedbot.plugins.base import PluginChatBase




class Stop(PluginChatBase):
    @property
    def command_verb(self):
        return "stop"

    @property
    def help(self):
        return "cancel current activity"

    def command(self, sender, command, args):

        self.world.bot.behavior_tree.cancel_running()