dcr no longer requires a bot restart
This commit is contained in:
parent
bd1efc6f75
commit
aa96ed884e
@ -150,7 +150,7 @@ namespace NadekoBot.Modules.CustomReactions
|
|||||||
if (toDelete.GuildId == null && channel == null)
|
if (toDelete.GuildId == null && channel == null)
|
||||||
{
|
{
|
||||||
uow.CustomReactions.Remove(toDelete);
|
uow.CustomReactions.Remove(toDelete);
|
||||||
|
GlobalReactions.RemoveWhere(cr => cr.Id == toDelete.Id);
|
||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
else if (toDelete.GuildId != null && channel?.Guild.Id == toDelete.GuildId)
|
else if (toDelete.GuildId != null && channel?.Guild.Id == toDelete.GuildId)
|
||||||
|
Loading…
Reference in New Issue
Block a user