public async Task PublishAnnouncementMessages(SocketUserMessage msg) { foreach (ulong chan in announcementChannels) { if (msg.Channel.Id == chan) { if (msg.Channel.GetType() == typeof(SocketNewsChannel)) { await msg.CrosspostAsync(); } } } }