change: prettier code

This commit is contained in:
TriForMine
2021-10-21 17:07:31 +00:00
committed by GitHub Action
parent a8ccf05e8b
commit baf8583976
16 changed files with 132 additions and 99 deletions
+2 -2
View File
@@ -74,7 +74,7 @@ export async function sendMessage(bot: Bot, channelId: bigint, content: string |
}
const result = await bot.rest.runMethod<SnakeCasedPropertiesDeep<Message>>(
bot.rest,
bot.rest,
"post",
bot.constants.endpoints.CHANNEL_MESSAGES(channelId),
bot.utils.snakelize({
@@ -85,7 +85,7 @@ export async function sendMessage(bot: Bot, channelId: bigint, content: string |
parse: content.allowedMentions.parse,
roles: content.allowedMentions.roles,
users: content.allowedMentions.users,
replied_user: content.allowedMentions.repliedUser
replied_user: content.allowedMentions.repliedUser,
},
file: content.file,
// TODO: Snakelize components??