channel.messages: simplify data.get call

This commit is contained in:
Luna 2019-04-04 12:53:26 -03:00
parent a93090ddbc
commit e68f212c9e
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ async def create_message(channel_id: int, actual_guild_id: int,
data['nonce'],
MessageType.DEFAULT.value,
data.get('embeds', []) or []
data.get('embeds') or []
)
return message_id