public async Task SetupEmotes(Emote ack, Emote feature, Emote bug) { if (Context.Channel.Id.ToString() != _config["bot_channel"]) { return; } if (ack == null || feature == null || bug == null) { await ReplyAsync("You didn't provide the correct emote params. :confused:"); return; } _config["EMOTE_ACK"] = FormatAsEmote(ack); _config["EMOTE_FEATURE"] = FormatAsEmote(feature); _config["EMOTE_BUG"] = FormatAsEmote(bug); _reactHandler.UpdateEmotes(); await ReplyAsync("Got it! :thumbsup:\r\n\r\n" + $"{FormatAsEmote(ack)} => Ack\r\n" + $"{FormatAsEmote(feature)} => Feature Request\r\n" + $"{FormatAsEmote(bug)} => Bug\r\n"); }
public async Task SetupEmotes(Emote ackYes, Emote ackNo) { if (Context.Channel.Id.ToString() != _config["bot_channel"]) { return; } if (ackYes == null || ackNo == null) { await ReplyAsync("You didn't provide the correct emote params. :confused:"); return; } _config[NagService.EMOTE_ACKYES] = FormatAsEmote(ackYes); _config[NagService.EMOTE_ACKNO] = FormatAsEmote(ackNo); _reactHandler.UpdateEmotes(); await ReplyAsync("Got it! :thumbsup:\r\n\r\n" + $"{FormatAsEmote(ackYes)} => Ack Yes\r\n" + $"{FormatAsEmote(ackNo)} => Ack No\r\n"); }