Yeah basically i fucked up by not pushing these earlier; whoops
This commit is contained in:
djaidjai committed 2023-05-08 17:36:44 +02:00
commit 9874686595
3 files changed
+15 -6

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ fn update_prefix(cfg: &Config, data: &mut Data) {
data.display_prefix = char.clone();
trace!("updated prefix to {}", data.display_prefix);
} else {
data.display_prefix = cfg.player_prefixes.get("default").unwrap().clone(); //todo: error handling
data.display_prefix = cfg.player_prefixes.get("default").unwrap_or(&'>').clone();
trace!("set prefix to default ({})", data.display_prefix);
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.