Compare commits
No commits in common. "305f1cd61639ac6e216ee273f5d2f169ce29f36c" and "5962fd7c123fa867b536086b4169393d14f248fb" have entirely different histories.
305f1cd616
...
5962fd7c12
|
@ -22,9 +22,9 @@ def last_tilde(msg):
|
|||
if callable(data):
|
||||
datax = inspect.getclosurevars(data).nonlocals
|
||||
if len(datax) == 0:
|
||||
data = ' '.join(inspect.getsource(data).rsplit())
|
||||
data = inspect.getsource(data)
|
||||
else: data = datax
|
||||
if answer is None:
|
||||
data = str(data)
|
||||
answer = f"{nick}'s last tilde's answer was supposed to be `{data}`."
|
||||
answer = f"{pnick}'s last tilde's answer was supposed to be `{data}`."
|
||||
return pinhook.plugin.message(answer)
|
||||
|
|
Loading…
Reference in New Issue