Show removed quote as conformation
This commit is contained in:
parent
815b7d6163
commit
a65f9d2963
1 changed files with 3 additions and 1 deletions
|
@ -159,7 +159,9 @@ namespace Geekbot.net.Commands
|
||||||
var success = _redis.SetRemove($"{Context.Guild.Id}:Quotes", quotes[id - 1]);
|
var success = _redis.SetRemove($"{Context.Guild.Id}:Quotes", quotes[id - 1]);
|
||||||
if (success)
|
if (success)
|
||||||
{
|
{
|
||||||
await ReplyAsync($"Removed quote #{id}");
|
var quote = JsonConvert.DeserializeObject<QuoteObject>(quotes[id - 1]);
|
||||||
|
var embed = quoteBuilder(quote);
|
||||||
|
await ReplyAsync($"**Removed #{id}**", false, embed.Build());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue