Changed f invitebot format
This commit is contained in:
parent
f63121ed86
commit
e5cfc1ebdc
@ -1,5 +1,6 @@
|
||||
package com.massivecraft.factions.discord;
|
||||
|
||||
import com.massivecraft.factions.FactionsPlugin;
|
||||
import com.massivecraft.factions.cmd.CommandContext;
|
||||
import com.massivecraft.factions.cmd.FCommand;
|
||||
import com.massivecraft.factions.zcore.util.TL;
|
||||
@ -20,8 +21,7 @@ public class CmdInviteBot extends FCommand {
|
||||
JDA jda = FactionChatHandler.jda;
|
||||
FancyMessage fancyMessage = new FancyMessage();
|
||||
fancyMessage.link(jda.asBot().getInviteUrl(Permission.MESSAGE_READ, Permission.MESSAGE_WRITE, Permission.MESSAGE_HISTORY, Permission.MESSAGE_ADD_REACTION, Permission.MESSAGE_EMBED_LINKS));
|
||||
fancyMessage.text("Click here to invite the bot");
|
||||
fancyMessage.color(ChatColor.BLUE);
|
||||
fancyMessage.text(FactionsPlugin.getInstance().color("&c&lFactions Bot - &2Click here to invite the bot"));
|
||||
fancyMessage.send(context.fPlayer.getPlayer());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user