public async Task ViewChangelogAsync() { IChannel channel = Context.Client.GetChannel(Context.Data.Data.LogChannelId); if (channel is IMessageChannel mChannel) { IEnumerable <IMessage> messages = await mChannel.GetMessagesAsync(1).FlattenAsync(); IMessage message = messages.FirstOrDefault(); if (message != null) { await message.CloneAsync(Context.Channel); return; } } await Context.Channel.SendMessageAsync(Format.Warning("Unable to find a previous changelog to reference.")); }