public async Task SetChannel([Summary("The name of the channel.")] string channel) { var id = (await _twitchManager.GetChannelusers(new List <string> { channel })).Users.FirstOrDefault()?.Id; if (id == null) { await ReplyAsync("Channel could not be found."); return; } Context.GuildSettings.SetTwitchChannel(channel, id); await ReplyAsync("Channel has been set."); }