Merge pull request #108 from Serraniel/bugfix/#107-guild-name-broken

#107 fixed a typo to replace guild name
This commit is contained in:
Daniel 2021-12-17 22:59:53 +01:00 committed by GitHub
commit b9e4670b61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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