Error — A module to cause an error

Class Reference

class pyircbot.modules.Error.Error(bot, moduleName)[source]

Bases: pyircbot.modulebase.ModuleBase

error(args, prefix, trailing)[source]

If the message recieved from IRC has the string “error” in it, cause a ZeroDivisionError

Parameters:
  • args (list) – IRC args received
  • prefix (str) – IRC prefix of sender
  • trailing (str) – IRC message body