public GuildCreationInteractiveMessage(IUserMessage message, MinecraftGuild guild) : base(message, expirationTime: EXPIRATIONDELAY) { Guild = guild; ConfirmedMembers = new List <bool>(new bool[guild.MemberIds.Count]); EmoteInteraction confirmInteraction = new EmoteInteraction(UnicodeEmoteService.Checkmark, CheckmarkEmoteUsed, false); EmoteInteraction denyInteraction = new EmoteInteraction(UnicodeEmoteService.Cross, CrossEmoteUsed, false); AddMessageInteractionParams(confirmInteraction, denyInteraction); }
/// <summary> /// Adds a MessageInteraction /// </summary> protected void AddMessageInteraction(EmoteInteraction interaction) { interaction.MessageId = MessageId; Interactions.Add(interaction.Emote.Name, interaction); }