From 6adfd633ea3309e6499318c8ef8c0f4d2530e9aa Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 9 Jan 2017 09:50:14 -0500 Subject: [PATCH] Allow Messageable.send to work with non-truthy types. --- discord/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/abc.py b/discord/abc.py index 5711ef706..3a7d15561 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -533,7 +533,7 @@ class Messageable(metaclass=abc.ABCMeta): channel = yield from self._get_channel() guild_id = self._get_guild_id() state = self._state - content = str(content) if content else None + content = str(content) if content is not None else None if embed is not None: embed = embed.to_dict()