3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

Reformat all files with Prettier

This commit is contained in:
Dragory 2021-09-11 19:06:51 +03:00
parent 0cde0d46d2
commit ac79eb09f5
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
206 changed files with 727 additions and 888 deletions

View file

@ -46,7 +46,7 @@ export class GuildSavedMessages extends BaseGuildRepository {
};
if (msg.attachments.size) {
data.attachments = Array.from(msg.attachments.values()).map(att => ({
data.attachments = Array.from(msg.attachments.values()).map((att) => ({
id: att.id,
contentType: att.contentType,
name: att.name,
@ -59,14 +59,14 @@ export class GuildSavedMessages extends BaseGuildRepository {
}
if (msg.embeds.length) {
data.embeds = msg.embeds.map(embed => ({
data.embeds = msg.embeds.map((embed) => ({
title: embed.title,
description: embed.description,
url: embed.url,
timestamp: embed.timestamp,
color: embed.color,
fields: embed.fields.map(field => ({
fields: embed.fields.map((field) => ({
name: field.name,
value: field.value,
inline: field.inline,
@ -119,7 +119,7 @@ export class GuildSavedMessages extends BaseGuildRepository {
}
if (msg.stickers?.size) {
data.stickers = Array.from(msg.stickers.values()).map(sticker => ({
data.stickers = Array.from(msg.stickers.values()).map((sticker) => ({
format: sticker.format,
guildId: sticker.guildId,
id: sticker.id,