Exemplo n.º 1
0
        public async Task EditQuote(int quoteId, [Remainder] string quote)
        {
            string oldQuote = QuoteHandler.QuoteList[quoteId - 1];

            QuoteHandler.UpdateQuote(quoteId - 1, quote);
            await ReplyAsync(Context.User.Mention + " updated quote id: " + quoteId + "\nOld quote: `" + oldQuote + "`\nUpdated: `" + quote + "`");
        }