did a dumb

This commit is contained in:
Ben Harris 2020-03-12 01:09:09 -04:00
parent a0306cdb4c
commit 9a858e9a29
1 changed files with 1 additions and 1 deletions

View File

@ -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}")