fixed byemessage showin as greetmessage
This commit is contained in:
parent
370fc22f05
commit
49c20b7f00
@ -51,7 +51,7 @@ namespace NadekoBot.Commands {
|
|||||||
var controls = AnnouncementsDictionary[e.Server.Id];
|
var controls = AnnouncementsDictionary[e.Server.Id];
|
||||||
var channel = NadekoBot.client.GetChannel(controls.ByeChannel);
|
var channel = NadekoBot.client.GetChannel(controls.ByeChannel);
|
||||||
if (channel == null) return;
|
if (channel == null) return;
|
||||||
var msg = controls.GreetText.Replace("%user%", e.User.Mention).Trim();
|
var msg = controls.ByeText.Replace("%user%", e.User.Mention).Trim();
|
||||||
if (string.IsNullOrEmpty(msg))
|
if (string.IsNullOrEmpty(msg))
|
||||||
return;
|
return;
|
||||||
Greeted++;
|
Greeted++;
|
||||||
|
Loading…
Reference in New Issue
Block a user