Add await (thank you for the ping /srs)

Signed-off-by: PandaNinjas <admin@malwarefight.gq>
This commit is contained in:
PandaNinjas 2023-01-17 03:45:39 +00:00 committed by GitHub
parent 90fbd3f717
commit 2be950d71d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ export async function expandDiscordLink(message: Message): Promise<void> {
.setStyle(ButtonStyle.Link) .setStyle(ButtonStyle.Link)
.setURL(messageToShow.url) .setURL(messageToShow.url)
); );
message.channel.send({ embeds: [builder], components: [row] }); await message.channel.send({ embeds: [builder], components: [row] });
} catch (e) { } catch (e) {
console.error(e); console.error(e);
continue; continue;