fix: look on the right side for text channels when posting the join notice in heat seeking
This commit is contained in:
@@ -337,7 +337,7 @@ async fn follow_hottest_vc(
|
|||||||
.discord_voice_channel_corresponding_text_channel
|
.discord_voice_channel_corresponding_text_channel
|
||||||
.get(&guild_id)
|
.get(&guild_id)
|
||||||
.and_then(|guild_mappings| {
|
.and_then(|guild_mappings| {
|
||||||
guild_mappings.get_left_for(&hottest_vc).copied()
|
guild_mappings.get_right_for(&hottest_vc).copied()
|
||||||
})
|
})
|
||||||
.unwrap_or(hottest_vc);
|
.unwrap_or(hottest_vc);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user