shellbot.commands.upload module

class shellbot.commands.upload.Upload(engine=None, **kwargs)[source]

Bases: shellbot.commands.base.Command

Handles a bare file upload

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

Handles bare upload

Parameters:
  • bot (Shellbot) – The bot for this execution
  • attachment (str) – External name of the uploaded file
  • url (str) – The link to fetch actual content
  • arguments (str or None) – The arguments for this command
is_hidden = True
on_init()[source]

Localize strings for this command