Skip to content

Commit

Permalink
Avoid a potential crash with strike add
Browse files Browse the repository at this point in the history
  • Loading branch information
SunburntRock89 committed Jun 1, 2023
1 parent 6a35714 commit 78f694b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/support/strike add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default class StrikeAdd extends Command {
// Guild definitely exists if user doesn't at this point
const userToDM = possibilities.user || await this.client.getUser(possibilities.guild!.ownerId);
// We can't tell what language they speak here.
userToDM.send({
await userToDM.send({
embeds: [{
color: this.config.colors.yellowbook,
title: "⚠️ Warning",
Expand Down

0 comments on commit 78f694b

Please sign in to comment.