We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8e2550 commit 519dcdfCopy full SHA for 519dcdf
chombot/src/config.rs
@@ -29,13 +29,11 @@ impl TournamentWatcherChannelListProvider for ChombotConfig {
29
type TournamentWatcherChannelList = Vec<ChannelId>;
30
31
async fn tournament_watcher_channels(&self) -> Self::TournamentWatcherChannelList {
32
- let channel_ids = self
33
- .config
+ self.config
34
.guilds
35
.values()
36
- .filter_map(|config| config.tournaments_watcher_channel_id);
37
-
38
- channel_ids.collect()
+ .filter_map(|config| config.tournaments_watcher_channel_id)
+ .collect()
39
}
40
41
0 commit comments