Fixed bug in plugins/fortune.py
This commit is contained in:
parent
50ddc62386
commit
5f43d70f97
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ with open("plugins/data/fortunes.txt") as f:
|
||||||
fortunes.append(line.strip())
|
fortunes.append(line.strip())
|
||||||
|
|
||||||
|
|
||||||
@hook.command
|
@hook.command(autohelp=False)
|
||||||
def fortune(inp):
|
def fortune(inp):
|
||||||
".fortune -- Fortune cookies on demand."
|
".fortune -- Fortune cookies on demand."
|
||||||
return random.choice(fortunes)
|
return random.choice(fortunes)
|
||||||
|
|
Reference in a new issue