mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-02-14 15:38:42 -06:00
Slowly doing things better lol
This commit is contained in:
@@ -8,7 +8,11 @@ public class DisCalAPI {
|
||||
private static IDiscordClient client;
|
||||
|
||||
//final global variables.
|
||||
public final String iconUrl = "https://discalbot.com/assets/images/logos/embed-icon.png";
|
||||
public final String iconUrl = "https://discalbot.com/assets/images/logos/embed-icon .png";
|
||||
public final long novaId = 130510525770629121L;
|
||||
public final long xaanitId = 233611560545812480L;
|
||||
public final long calId = 142107863307780097L;
|
||||
public final long dreamId = 282662248365817867L;
|
||||
|
||||
private DisCalAPI() {
|
||||
}
|
||||
|
||||
@@ -96,11 +96,7 @@ public class DevCommand implements ICommand {
|
||||
*/
|
||||
@Override
|
||||
public Boolean issueCommand(String[] args, MessageReceivedEvent event, GuildSettings settings) {
|
||||
long novaId = 130510525770629121L;
|
||||
long xaanitId = 233611560545812480L;
|
||||
long calId = 142107863307780097L;
|
||||
long dreamId = 282662248365817867L;
|
||||
if (event.getAuthor().getLongID() == novaId || event.getAuthor().getLongID() == xaanitId || event.getAuthor().getLongID() == calId || event.getAuthor().getLongID() == dreamId) {
|
||||
if (event.getAuthor().getLongID() == DisCalAPI.getAPI().novaId || event.getAuthor().getLongID() == DisCalAPI.getAPI().xaanitId || event.getAuthor().getLongID() == DisCalAPI.getAPI().calId || event.getAuthor().getLongID() == DisCalAPI.getAPI().dreamId) {
|
||||
if (args.length < 1) {
|
||||
Message.sendMessage("Please specify the function you would like to execute. To view valid functions use `!help dev`", event);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user