Skip to content

Commit

Permalink
Fix role not being found (Closes #90)
Browse files Browse the repository at this point in the history
  • Loading branch information
Almighty-Satan committed Jan 14, 2024
1 parent 9546275 commit e606cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/de/cuuky/varo/bot/discord/VaroDiscordBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private void loadRole() {
if (roleId != 0 && roleId != -1) {
Role role = jda.getRoleById(roleId);

if (pingRole != null) {
if (role != null) {
this.pingRole = role.getAsMention();
return;
}
Expand Down

0 comments on commit e606cee

Please sign in to comment.