Skip to content

Commit

Permalink
fix volume
Browse files Browse the repository at this point in the history
  • Loading branch information
cycle-five committed Feb 26, 2024
1 parent 7e1291d commit b713061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crack-core/src/commands/settings/set/set_volume.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ pub fn set_volume(
guild_settings_mut
.entry(guild_id)
.and_modify(|e| {
e.volume = vol;
e.old_volume = e.volume;
e.volume = vol;
})
.or_insert(GuildSettings::new(guild_id, Some(DEFAULT_PREFIX), None))
.clone()
Expand Down

0 comments on commit b713061

Please sign in to comment.