Fix for error sending breeds list to user on Slack backend
This commit is contained in:
parent
c2e7df5d2c
commit
f18bf63266
1 changed files with 1 additions and 1 deletions
2
doggo.py
2
doggo.py
|
@ -50,7 +50,7 @@ class Doggo(BotPlugin):
|
|||
return 'Unable to load breeds list'
|
||||
|
||||
# Send the output to the user to prevent spamming the channel
|
||||
direct_to_user = self.build_identifier(str(msg.frm.nick))
|
||||
direct_to_user = self.build_identifier(str(msg.frm))
|
||||
|
||||
for breed in sorted(self.breeds):
|
||||
self.send(direct_to_user, breed)
|
||||
|
|
Loading…
Reference in a new issue