Updated log error message

This commit is contained in:
Toastie 2024-12-27 16:53:40 +13:00
parent 556f082aa2
commit 3a57fa1e02
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
24 changed files with 28 additions and 28 deletions

View file

@ -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.");
}
}
}

View file

@ -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)

View file

@ -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.");
}
}
}

View file

@ -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.");
}
}
}

View file

@ -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...");

View file

@ -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.");
}
}
}

View file

@ -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)

View file

@ -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)

View file

@ -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.");
}
}
}

View file

@ -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.");
}
}

View file

@ -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.");
}
}
}

View file

@ -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.");
}
}
}

View file

@ -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.");
}
}
}

View file

@ -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);

View file

@ -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.");
}
}

View file

@ -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.");
}
}
}

View file

@ -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.");
}
}
}

View file

@ -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.");
}
}
}

View file

@ -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.");
}
}

View file

@ -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.");
}
}
}

View file

@ -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.");
}
}
}

View file

@ -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

View file

@ -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.");
}
}
}

View file

@ -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)