Skip to content

Commit

Permalink
Fix await bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rjstone committed Jan 3, 2020
1 parent d159d00 commit 89b0bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async function run() {
.setName(username || default_username)
.setAvatar(avatarUrl || default_avatarUrl)
.setColor(color || default_colors[severity])
.setDescription((description || getDefaultDescription()) + "\n" + details)
.setDescription((description || await getDefaultDescription()) + "\n" + details)
.setFooter(footer || ("Severity: " + long_severity[severity]))
.setText(text)
.setTime();
Expand Down

0 comments on commit 89b0bf4

Please sign in to comment.