diff --git a/Discord Media Loader.Application/Classes/JobScheduler.cs b/Discord Media Loader.Application/Classes/JobScheduler.cs index 6a88229..3af4e48 100644 --- a/Discord Media Loader.Application/Classes/JobScheduler.cs +++ b/Discord Media Loader.Application/Classes/JobScheduler.cs @@ -247,8 +247,10 @@ namespace DML.AppCore.Classes .Replace("%channel%", channelName) .Replace("%timestamp%", message.CreatedAt.UtcDateTime.ToUnixTimeStamp().ToString()) .Replace("%name%", a.Filename) - .Replace("%id%", a.Id.ToString()); - + .Replace("%id%", a.Id.ToString()) + .Replace("%userid%", message.Author.Id.ToString()) + .Replace("%username%", message.Author.Username); + if (extensionRequired) fileName += Path.GetExtension(a.Filename); diff --git a/Discord Media Loader.Application/DML.Application.csproj b/Discord Media Loader.Application/DML.Application.csproj index 17496c5..5a56419 100644 --- a/Discord Media Loader.Application/DML.Application.csproj +++ b/Discord Media Loader.Application/DML.Application.csproj @@ -222,6 +222,9 @@ + + +