mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
fmt on src folder
This commit is contained in:
@@ -130,8 +130,11 @@ export async function sendMessage(
|
||||
}
|
||||
}
|
||||
|
||||
if (content.embed && !botHasChannelPermissions(channel.id, [Permissions.EMBED_LINKS])) {
|
||||
throw new Error(Errors.MISSING_EMBED_LINKS)
|
||||
if (
|
||||
content.embed &&
|
||||
!botHasChannelPermissions(channel.id, [Permissions.EMBED_LINKS])
|
||||
) {
|
||||
throw new Error(Errors.MISSING_EMBED_LINKS);
|
||||
}
|
||||
|
||||
// Use ... for content length due to unicode characters and js .length handling
|
||||
|
||||
Reference in New Issue
Block a user