Skip to content

Commit 89b0bf4

Browse files
author
rjstone
committed
Fix await bug
1 parent d159d00 commit 89b0bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async function run() {
7878
.setName(username || default_username)
7979
.setAvatar(avatarUrl || default_avatarUrl)
8080
.setColor(color || default_colors[severity])
81-
.setDescription((description || getDefaultDescription()) + "\n" + details)
81+
.setDescription((description || await getDefaultDescription()) + "\n" + details)
8282
.setFooter(footer || ("Severity: " + long_severity[severity]))
8383
.setText(text)
8484
.setTime();

0 commit comments

Comments
 (0)