public async Task Order(int value) { await Context.Channel.DeleteMessageAsync(Context.Message); var routing = FarmRoomManager.GetRoomRouting(); var room = routing.GetRoom(Context.Channel); G2gOrder order = new G2gOrder() { Buyer = "Udenlo", Amount = value, OrderId = "№4170194", Server = "Benediction [US] Alliance" }; room.AddOrder(order); Emoji react = new Emoji("💰"); var message = await Context.Channel.SendMessageAsync("", false, order.GetOrderEmbed()); await message.AddReactionAsync(react); }
public AcceptOrder(G2gOrder order) { _order = order; Sender = order.RoomSender; }