fmt on src folder

This commit is contained in:
Skillz
2020-08-07 10:13:07 -04:00
parent 602337bc2c
commit 8cf4f137b9
7 changed files with 23 additions and 24 deletions
+5 -2
View File
@@ -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