Fix for error sending breeds list to user on Slack backend

This commit is contained in:
Adam Piontek 2018-08-25 15:54:54 -04:00
parent c2e7df5d2c
commit f18bf63266
1 changed files with 1 additions and 1 deletions

View File

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