shellbot.commands.close module

class shellbot.commands.close.Close(engine=None, **kwargs)[source]

Bases: shellbot.commands.base.Command

Closes the space

>>>close = Close(engine=my_engine) >>>shell.load_command(close)

execute(bot, arguments=None, **kwargs)[source]

Closes the space

Parameters:
  • bot (Shellbot) – The bot for this execution
  • arguments (str or None) – The arguments for this command

This function should report on progress by sending messages with one or multiple bot.say("Whatever response").

in_direct = False
on_init()[source]

Localize strings for this command