create['id'] = id
log.info('Created feed: {}'.format(create))
yield from bot.say(message.channel, id)
- yield from cat.purr(None, voice_channel_for_user(message.author), join = False)
+ yield from cat.purr(None, bot.voice_channel_for_user(message.author), join = False)
else:
log.info('Failed to create feed: {}'.format(create))
yield from cat.yelp(message.channel)
if self.update_feed(client, id, **update):
log.info('Edited feed {}: {}'.format(id, update))
yield from bot.say(message.channel, ', '.join([self.feed_key(k) for k in update]))
- yield from cat.purr(None, voice_channel_for_user(message.author), join = False)
+ yield from cat.purr(None, bot.voice_channel_for_user(message.author), join = False)
else:
log.info('Failed to edit feed {}: {}'.format(id, update))
yield from cat.yelp(message.channel)