diff --git a/homeassistant/components/notify/discord.py b/homeassistant/components/notify/discord.py index e061492801b..189aa0d02bb 100644 --- a/homeassistant/components/notify/discord.py +++ b/homeassistant/components/notify/discord.py @@ -44,7 +44,7 @@ class DiscordNotificationService(BaseNotificationService): @discord_bot.event @asyncio.coroutine - def on_ready(): # pylint: disable=unused-variable + def on_ready(): # pylint: disable=unused-variable """Send the messages when the bot is ready.""" for channelid in kwargs[ATTR_TARGET]: channel = discord.Object(id=channelid)