From c1f3ce78e13c4dea98fb762ea7b86e7e4059a94e Mon Sep 17 00:00:00 2001 From: Christiaan Blom Date: Sat, 4 Mar 2017 01:43:59 +0100 Subject: [PATCH] Edit docstring --- homeassistant/components/notify/discord.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/notify/discord.py b/homeassistant/components/notify/discord.py index 8647ea8792e..7e1a83cdcb4 100644 --- a/homeassistant/components/notify/discord.py +++ b/homeassistant/components/notify/discord.py @@ -45,7 +45,7 @@ class DiscordNotificationService(BaseNotificationService): @discord_bot.event @asyncio.coroutine def on_ready(): - """sends the messages when the bot is ready""" + """Send the messages when the bot is ready.""" for channelid in kwargs[ATTR_TARGET]: channel = discord.Object(id=channelid) yield from discord_bot.send_message(channel, message)