Merge pull request #108 from Serraniel/bugfix/#107-guild-name-broken
#107 fixed a typo to replace guild name
This commit is contained in:
commit
b9e4670b61
|
@ -234,7 +234,7 @@ namespace DML.AppCore.Classes
|
||||||
var serverName = "unknown";
|
var serverName = "unknown";
|
||||||
string nickname = null;
|
string nickname = null;
|
||||||
|
|
||||||
if (fileName.Contains("%guildid%") || fileName.Contains("%nickname%"))
|
if (fileName.Contains("%guild%") || fileName.Contains("%nickname%"))
|
||||||
{
|
{
|
||||||
var socketTextChannel = message.Channel as SocketTextChannel;
|
var socketTextChannel = message.Channel as SocketTextChannel;
|
||||||
if (socketTextChannel != null)
|
if (socketTextChannel != null)
|
||||||
|
|
Loading…
Reference in a new issue