Skip to content

Commit 64e6f9b

Browse files
committed
Bug fix for pet permissions
1 parent 2cd2869 commit 64e6f9b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

trackscape-discord-bot/src/commands/reset_verification_code.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ use serenity::model::prelude::Permissions;
55

66
pub fn register() -> CreateCommand {
77
CreateCommand::new("reset_verification_code")
8-
.description(
9-
"Resets the verification code for the server. MUST UPDATE THE NEW CODE IN THE PLUGIN.",
10-
)
8+
.description("Resets the verification code. MUST UPDATE THE NEW CODE IN THE PLUGIN.")
119
.default_member_permissions(Permissions::MANAGE_GUILD)
1210
}
1311

trackscape-discord-shared/src/osrs_broadcast_handler.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ impl<T: DropLogs, CL: ClanMateCollectionLogTotals, CM: ClanMates, J: JobQueue>
186186
.disallowed_broadcast_types
187187
.iter()
188188
.find(|&x| {
189-
if let BroadcastType::Quest = x {
189+
if let BroadcastType::PetDrop = x {
190190
return true;
191191
}
192192
false

0 commit comments

Comments
 (0)