Added if
This commit is contained in:
parent
01edb18649
commit
ac851a845b
1 changed files with 2 additions and 1 deletions
|
@ -119,6 +119,7 @@ public class DiscordPlugin extends JavaPlugin implements IListener<ReadyEvent> {
|
|||
File file = new File("TBMC", "DiscordRedditLastAnnouncement.txt");
|
||||
Files.write(lastannouncementtime + "", file, StandardCharsets.UTF_8);
|
||||
}
|
||||
if (msgsb.length() > 0)
|
||||
channel.sendMessage(msgsb.toString()); // TODO: Mod msgsb for announcements
|
||||
try {
|
||||
Thread.sleep(10000);
|
||||
|
|
Loading…
Reference in a new issue