From 06b594e8587b6d8982fb8645d02030e8495aedb2 Mon Sep 17 00:00:00 2001 From: Zontreck Date: Mon, 29 Jun 2020 01:41:15 -0700 Subject: [PATCH] Discord specific fixes --- CommandSystem/CommandManager.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/CommandSystem/CommandManager.cs b/CommandSystem/CommandManager.cs index 9eeef55..005873a 100644 --- a/CommandSystem/CommandManager.cs +++ b/CommandSystem/CommandManager.cs @@ -61,6 +61,7 @@ namespace Bot.CommandSystem if (parameters.type == "chat") sourceLoc = Destinations.DEST_LOCAL; else if (parameters.type == "group") sourceLoc = Destinations.DEST_GROUP; else if (parameters.type == "im") sourceLoc = Destinations.DEST_AGENT; + else if (parameters.type == "discord") sourceLoc = Destinations.DEST_DISCORD; else sourceLoc = Destinations.DEST_LOCAL; string agentName = parameters.fromName;