Fixed bug in plugins/fortune.py

This commit is contained in:
Luke Rogers 2012-04-20 08:56:06 +12:00
parent 50ddc62386
commit 5f43d70f97

View file

@ -11,7 +11,7 @@ with open("plugins/data/fortunes.txt") as f:
fortunes.append(line.strip())
@hook.command
@hook.command(autohelp=False)
def fortune(inp):
".fortune -- Fortune cookies on demand."
return random.choice(fortunes)