Tildewait do not inform timeskip state
It doesn't make sense for tildewait to show the timeskip state if it is purposefully hidden from a file.master
parent
44377a58e9
commit
1d3622d0cb
|
@ -1,7 +1,7 @@
|
|||
|
||||
#!/usr/bin/python3
|
||||
import pinhook.plugin
|
||||
import util.tilde
|
||||
#import util.tilde
|
||||
import importlib
|
||||
import subprocess
|
||||
|
||||
|
@ -11,8 +11,8 @@ def tilde_wait(msg):
|
|||
found = False
|
||||
if msg.arg: nicktouse = ''.join(msg.arg.split(' '))
|
||||
else: nicktouse = msg.nick
|
||||
if util.tilde.TIMESKIP:
|
||||
return pinhook.plugin.message(f"{msg.nick}: You don't have to wait, timeskip is on")
|
||||
# if util.tilde.TIMESKIP:
|
||||
# return pinhook.plugin.message(f"{msg.nick}: You don't have to wait, timeskip is on")
|
||||
with open("/home/jmjl/dev/juju/data/tildescores.txt", "r") as scorefile:
|
||||
scores = scorefile.readlines()
|
||||
for score in scores:
|
||||
|
|
Loading…
Reference in New Issue