Added automatic plugin updater and a few smaller changes #21

Merged
NorbiPeti merged 11 commits from dev into master 2016-12-22 22:37:25 +00:00
Showing only changes of commit e51c2fe32f - Show all commits

View file

@ -7,7 +7,7 @@ import sx.blah.discord.handle.impl.events.MessageReceivedEvent;
public class AutoUpdaterListener implements IListener<MessageReceivedEvent> {
@Override
public void handle(MessageReceivedEvent event) {
if (!event.getMessage().getChannel().equals(DiscordPlugin.officechannel))
if (!event.getMessage().getChannel().getID().equals(DiscordPlugin.officechannel))
return;
if (event.getMessage().getWebhookID() == null)
return;