Add await (thank you for the ping /srs)
Signed-off-by: PandaNinjas <admin@malwarefight.gq>
This commit is contained in:
parent
90fbd3f717
commit
2be950d71d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue