Made Discord senders use the interface

This commit is contained in:
Norbi Peti 2016-12-07 17:49:26 +01:00
parent 674c85b136
commit 6f5bca8993

View file

@ -6,13 +6,12 @@ import java.util.List;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import buttondevteam.lib.TBMCCoreAPI; import buttondevteam.lib.TBMCCoreAPI;
import buttondevteam.lib.chat.IDiscordSender;
import sx.blah.discord.handle.obj.IChannel; import sx.blah.discord.handle.obj.IChannel;
import sx.blah.discord.handle.obj.IUser; import sx.blah.discord.handle.obj.IUser;
public abstract class DiscordSenderBase implements CommandSender { public abstract class DiscordSenderBase implements IDiscordSender {
protected IUser user; protected IUser user;
protected IChannel channel; protected IChannel channel;