aboutsummaryrefslogtreecommitdiff
path: root/discord/abc.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/abc.py')
-rw-r--r--discord/abc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/abc.py b/discord/abc.py
index b4a07791..7ce7224f 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -838,6 +838,8 @@ class Messageable(metaclass=abc.ABCMeta):
mentions = state.mentions.merge(mentions).to_dict()
else:
mentions = mentions.to_dict()
+ else:
+ mentions = state.mentions and state.mentions.to_dict()
if file is not None and files is not None:
raise InvalidArgument('cannot pass both file and files parameter to send()')