internal static void InitialiseDiscord() { Discord = new DiscordRestClient(new DiscordConfiguration() { Token = token }); Discord.InitializeAsync().GetAwaiter().GetResult(); Message = Discord.GetMessageAsync(channelId, messageId).GetAwaiter().GetResult(); }
public static Task <DiscordMessage> GetMessage(this DiscordRestClient client, ulong channel, ulong message) => WrapDiscordCall(client.GetMessageAsync(channel, message));