disabled many plugins
This commit is contained in:
parent
0ba2001b62
commit
7cce9bf27e
119 changed files with 0 additions and 20 deletions
14
disabled_stuff/fortune.py
Normal file
14
disabled_stuff/fortune.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
import random
|
||||
|
||||
from util import hook
|
||||
|
||||
|
||||
with open("plugins/data/fortunes.txt") as f:
|
||||
fortunes = [line.strip() for line in f.readlines()
|
||||
if not line.startswith("//")]
|
||||
|
||||
|
||||
@hook.command(autohelp=False)
|
||||
def fortune(inp):
|
||||
"""fortune -- Fortune cookies on demand."""
|
||||
return random.choice(fortunes)
|
Reference in a new issue