Updated log error message
This commit is contained in:
parent
556f082aa2
commit
3a57fa1e02
24 changed files with 28 additions and 28 deletions
Commands
AddCategoryCommand.csAddCommand.csAddMessageCommand.csAddStaffCommand.csAdminCommands.csAssignCommand.csBlacklistCommand.csCloseCommand.csCreateButtonPanelCommand.csCreateSelectionBoxPanelCommand.csInterviewCommands.csInterviewTemplateCommands.csMoveCommand.csNewCommand.csRandomAssignCommand.csRemoveCategoryCommand.csRemoveMessageCommand.csRemoveStaffCommand.csSayCommand.csSetSummaryCommand.csToggleActiveCommand.csTranscriptCommand.csUnassignCommand.csUnblacklistCommand.cs
|
@ -89,7 +89,7 @@ public class AddCategoryCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -78,7 +78,7 @@ public class AddCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
|
|
|
@ -69,7 +69,7 @@ public class AddMessageCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -70,7 +70,7 @@ public class AddStaffCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -56,7 +56,7 @@ public class AdminCommands
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -137,7 +137,7 @@ public class AdminCommands
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -172,7 +172,7 @@ public class AdminCommands
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
|
||||
Logger.Log("Reloading bot...");
|
||||
|
|
|
@ -108,7 +108,7 @@ public class AssignCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -47,7 +47,7 @@ public class BlacklistCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
|
|
|
@ -105,7 +105,7 @@ public class CloseCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
|
||||
if (Config.closingNotifications)
|
||||
|
|
|
@ -62,7 +62,7 @@ public class CreateButtonPanelCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -40,7 +40,7 @@ public class CreateSelectionBoxPanelCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ public class InterviewCommands
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -122,7 +122,7 @@ public class InterviewCommands
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -179,7 +179,7 @@ public class InterviewTemplateCommands
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -253,7 +253,7 @@ public class InterviewTemplateCommands
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -120,7 +120,7 @@ public class MoveCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -253,7 +253,7 @@ public class NewCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
|
||||
return (true, "Ticket opened, " + member.Mention + "!\n" + ticketChannel.Mention);
|
||||
|
|
|
@ -85,7 +85,7 @@ public class RandomAssignCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ public class RemoveCategoryCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -54,7 +54,7 @@ public class RemoveMessageCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -52,7 +52,7 @@ public class RemoveStaffCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -53,7 +53,7 @@ public class SayCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ public class SetSummaryCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -81,7 +81,7 @@ public class ToggleActiveCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -102,7 +102,7 @@ public class TranscriptCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
|
||||
try
|
||||
|
|
|
@ -58,7 +58,7 @@ public class UnassignCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -46,7 +46,7 @@ public class UnblacklistCommand
|
|||
}
|
||||
catch (NotFoundException)
|
||||
{
|
||||
Logger.Error("Could not find the log channel.");
|
||||
Logger.Error("Could not send message in log channel.");
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
|
|
Loading…
Add table
Reference in a new issue