diff options
author | Ben Harris <ben@tilde.team> | 2020-03-12 01:09:09 -0400 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2020-03-12 01:09:09 -0400 |
commit | 9a858e9a296e4ce94d7a797488ad6579f4eeca69 (patch) | |
tree | 0fbf3b6acdc4ad1def0251054891ab90c1818323 /tooter.py | |
parent | a0306cdb4cf899e47c0627bb9ee4174110aa441a (diff) |
did a dumb
Diffstat (limited to 'tooter.py')
-rw-r--r-- | tooter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tooter.py b/tooter.py index 270be4b..6dbe28b 100644 --- a/tooter.py +++ b/tooter.py @@ -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}") |