mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Fix various implementation bugs with allowed mentions
This commit is contained in:
1 parent
041785937e
commit
481b335f2d
3 files changed
+11
-7
No files matched your search
@@ -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()')
|
||||
|
||||
Reference in new issue
Block a user