public async Task SetLogChannel(CommandContext context, [Description("The channel to set as the log channel for moderation purposes")] DiscordChannel channel) { using IBotAccessProvider provider = this._providerBuilder.Build(); provider.AddOrUpdateGuildLogChannel(context.Guild.Id, channel.Id); await channel.SendMessageAsync($"{context.User.Mention}, I have set this channel as the logging channel for this guild."); }