Skip to content

Commit a415529

Browse files
committed
Fix constant undefined role
1 parent c17d15a commit a415529

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/handler/reaction/roleAssignerHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default {
4545
);
4646

4747
if (role === undefined) {
48-
throw new Error(`Could not find role ${role} for "${message.content}"`);
48+
throw new Error(`Could not find role for "${message.content}"`);
4949
}
5050

5151
if (reactionWasRemoved) {

0 commit comments

Comments
 (0)