Name adjustements
This commit is contained in:
parent
548d10cda8
commit
6844627723
|
@ -225,7 +225,7 @@ namespace DML.Application.Classes
|
||||||
var extensionRequired = !fileName.EndsWith("%name%");
|
var extensionRequired = !fileName.EndsWith("%name%");
|
||||||
|
|
||||||
fileName =
|
fileName =
|
||||||
fileName.Replace("%guild%", message.Server.Name)
|
fileName.Replace("%guild%", message.Server.Name.Replace(":","").Replace("/","").Replace("\\",""))
|
||||||
.Replace("%channel%", message.Channel.Name)
|
.Replace("%channel%", message.Channel.Name)
|
||||||
.Replace("%timestamp%", SweetUtils.DateTimeToUnixTimeStamp(message.Timestamp).ToString())
|
.Replace("%timestamp%", SweetUtils.DateTimeToUnixTimeStamp(message.Timestamp).ToString())
|
||||||
.Replace("%name%", a.Filename)
|
.Replace("%name%", a.Filename)
|
||||||
|
|
Loading…
Reference in a new issue