This commit is contained in:
ZeroEpoch1969 2019-11-28 14:41:44 -07:00
parent bb9e46b1fd
commit 90febba91a
No known key found for this signature in database
GPG Key ID: A7BAB4E14F089CF3

View File

@ -135,6 +135,8 @@ public class Discord extends FreedomService
public void messageChatChannel(String message)
{
message = message.replace("@everyone", "everyone");
message = message.replace("@here", "here");
String chat_channel_id = ConfigEntry.DISCORD_CHAT_CHANNEL_ID.getString();
if (enabled && !chat_channel_id.isEmpty())
{