Esempio n. 1
0
        public async Task GetLogChannels()
        {
            var logChannels = await ModerationService.GetLogChannelsAsync(Context.Guild);

            await ReplyAsync(logChannels.Any()
                             ?string.Join("\r\n",
                                          logChannels.Select(x => $"#{x.Name}"))
                                 : "There are no moderation log channels currently configured.");
        }