did a dumb
This commit is contained in:
parent
a0306cdb4c
commit
9a858e9a29
|
@ -35,7 +35,7 @@ def think(line):
|
|||
chan = line.params.pop(0)
|
||||
words = line.params[0].split(" ")
|
||||
|
||||
if len(words) > 0 and irctokens.hostmask.nickname != botnick:
|
||||
if len(words) > 0 and line.hostmask.nickname != botnick:
|
||||
if words[0] == "!toot":
|
||||
status = emoji.emojize(" ".join(words[1:]), use_aliases=True)
|
||||
print(f"{status} posted by {nick}")
|
||||
|
|
Loading…
Reference in New Issue