From beb2fdc496057e9dfc00efae7bfbb64e811d1c6e Mon Sep 17 00:00:00 2001 From: Serraniel Date: Fri, 17 Dec 2021 22:59:21 +0100 Subject: [PATCH] #107 fixed a typo to replace guild name --- Discord Media Loader.Application/Classes/JobScheduler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Discord Media Loader.Application/Classes/JobScheduler.cs b/Discord Media Loader.Application/Classes/JobScheduler.cs index 710b761..1521c63 100644 --- a/Discord Media Loader.Application/Classes/JobScheduler.cs +++ b/Discord Media Loader.Application/Classes/JobScheduler.cs @@ -234,7 +234,7 @@ namespace DML.AppCore.Classes var serverName = "unknown"; string nickname = null; - if (fileName.Contains("%guildid%") || fileName.Contains("%nickname%")) + if (fileName.Contains("%guild%") || fileName.Contains("%nickname%")) { var socketTextChannel = message.Channel as SocketTextChannel; if (socketTextChannel != null) -- 2.43.5