public async Task PostMenu(ReactMenu Menu, IMessageChannel Channel) { var Message = await Channel.SendMessageAsync(embed : Menu.Embed); foreach (var MenuEntry in Menu.Options) { await Message.AddReactionAsync(MenuEntry.Button); } Menu.Guid = new Guid(); Menu.MessageId = Message.Id; Menus.Add(Message.Id, Menu); }
public ReactMenuBuilder() { Menu = new ReactMenu(); Embed = null; }