Skip to content

Commit

Permalink
fix: correct preconditions error messages (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
Picowchew committed Mar 14, 2022
1 parent 5524516 commit 7ef7ac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/preconditions/GuildPrivateThreadOnly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class CorePrecondition extends AllFlowsPrecondition {
? this.ok()
: this.error({
identifier: Identifiers.PreconditionGuildPrivateThreadOnly,
message: 'You can only run this command in private server thread channels.'
message: 'You can only run this message command in private server thread channels.'
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/preconditions/GuildThreadOnly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class CorePrecondition extends AllFlowsPrecondition {
? this.ok()
: this.error({
identifier: Identifiers.PreconditionThreadOnly,
message: 'You can only run this chat input command in server thread channels.'
message: 'You can only run this context menu command in server thread channels.'
});
}
}

0 comments on commit 7ef7ac9

Please sign in to comment.