Merge branch 'develop' of github.com:ClouDev/CloudBot into develop
This commit is contained in:
commit
37b50b3fee
2 changed files with 5 additions and 12 deletions
|
@ -1,7 +1,4 @@
|
||||||
"""
|
# Written by Scaevolus 2010
|
||||||
remember.py: written by Scaevolus 20101
|
|
||||||
"""
|
|
||||||
|
|
||||||
from util import hook
|
from util import hook
|
||||||
import string
|
import string
|
||||||
import re
|
import re
|
||||||
|
|
|
@ -8,16 +8,12 @@ insults = []
|
||||||
flirts = []
|
flirts = []
|
||||||
|
|
||||||
with open("plugins/data/insults.txt") as f:
|
with open("plugins/data/insults.txt") as f:
|
||||||
for line in f.readlines():
|
insults = [line.strip() for line in f.readlines()
|
||||||
if line.startswith("//"):
|
if not line.startswith("//")]
|
||||||
continue
|
|
||||||
insults.append(line.strip())
|
|
||||||
|
|
||||||
with open("plugins/data/flirts.txt") as f:
|
with open("plugins/data/flirts.txt") as f:
|
||||||
for line in f.readlines():
|
flirts = [line.strip() for line in f.readlines()
|
||||||
if line.startswith("//"):
|
if not line.startswith("//")]
|
||||||
continue
|
|
||||||
flirts.append(line.strip())
|
|
||||||
|
|
||||||
|
|
||||||
@hook.command
|
@hook.command
|
||||||
|
|
Reference in a new issue