File: broken.py

package info (click to toggle)
errbot 6.2.0%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,796 kB
  • sloc: python: 11,557; makefile: 164; sh: 97
file content (10 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
import borken  # fails on purpose

from errbot import BotPlugin, botcmd


class Broken(BotPlugin):
    @botcmd
    def hello(self, msg, args):
        """this command says hello"""
        return "Hello World !"