commit
f0de290dc6
4 changed files with 3 additions and 12 deletions
|
|
@ -10,7 +10,7 @@ Hadder Discord is a multi-purpose Discord bot with 100% uptime.
|
||||||
[](https://github.com/BigBotNetwork/Hadder/issues)
|
[](https://github.com/BigBotNetwork/Hadder/issues)
|
||||||
[](https://github.com/BigBotNetwork/Hadder/blob/master/LICENSE)
|
[](https://github.com/BigBotNetwork/Hadder/blob/master/LICENSE)
|
||||||
|
|
||||||
<a href="https://discordextremelist.xyz/bots/Hadder"><img src="https://discordextremelist.xyz/api/bot/637002314162372639/widget"/></a>
|
[](https://discordextremelist.xyz/bots/Hadder)
|
||||||
[](https://top.gg/bot/637002314162372639)
|
[](https://top.gg/bot/637002314162372639)
|
||||||
[](https://botlist.space/bot/637002314162372639?utm_source=bls&utm_medium=widget&utm_campaign=637002314162372639)
|
[](https://botlist.space/bot/637002314162372639?utm_source=bls&utm_medium=widget&utm_campaign=637002314162372639)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,16 +37,6 @@ public class AudioManager {
|
||||||
return players.containsKey(guild.getId());
|
return players.containsKey(guild.getId());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void removePlayer(Guild g) {
|
|
||||||
System.out.println(players.toString());
|
|
||||||
players.remove(g.getId());
|
|
||||||
System.out.println(players.toString());
|
|
||||||
}
|
|
||||||
|
|
||||||
public Map<String, Map.Entry<AudioPlayer, TrackManager>> getPlayers () {
|
|
||||||
return players;
|
|
||||||
}
|
|
||||||
|
|
||||||
public AudioPlayer getPlayer(Guild guild) {
|
public AudioPlayer getPlayer(Guild guild) {
|
||||||
AudioPlayer p;
|
AudioPlayer p;
|
||||||
if (hasPlayer(guild)) {
|
if (hasPlayer(guild)) {
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,7 @@ public class ClydeCommand implements Command {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
webhook.delete().queue();
|
webhook.delete().queue();
|
||||||
|
event.getMessage().delete().queue();
|
||||||
} else {
|
} else {
|
||||||
event.getTextChannel().sendMessage(event.getMessageEditor().getMessage(MessageEditor.MessageType.NO_SELF_PERMISSION).build()).queue();
|
event.getTextChannel().sendMessage(event.getMessageEditor().getMessage(MessageEditor.MessageType.NO_SELF_PERMISSION).build()).queue();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ public class BotList {
|
||||||
private static String DiscordBestBots = "https://discordsbestbots.xyz/api/bots/637002314162372639/stats";
|
private static String DiscordBestBots = "https://discordsbestbots.xyz/api/bots/637002314162372639/stats";
|
||||||
private static String DiscordBoats = "https://discord.boats/api/bot/637002314162372639";
|
private static String DiscordBoats = "https://discord.boats/api/bot/637002314162372639";
|
||||||
private static String YetAnotherBotList = "https://yabl.xyz/api/bot/637002314162372639/stats";
|
private static String YetAnotherBotList = "https://yabl.xyz/api/bot/637002314162372639/stats";
|
||||||
private static String DiscordExtremeList = "https://discordextremelist.xyz/api/bot/637002314162372639";
|
private static String DiscordExtremeList = "https://api.discordextremelist.xyz/v1/bot/637002314162372639";
|
||||||
private static String DiscordBotReviews = "https://discordbotreviews.xyz/api/bot/637002314162372639/stats";
|
private static String DiscordBotReviews = "https://discordbotreviews.xyz/api/bot/637002314162372639/stats";
|
||||||
private static String DiscordBots = "https://top.gg/api/bots/637002314162372639/stats";
|
private static String DiscordBots = "https://top.gg/api/bots/637002314162372639/stats";
|
||||||
private static String BotListSpace = "https://api.botlist.space/v1/bots/637002314162372639";
|
private static String BotListSpace = "https://api.botlist.space/v1/bots/637002314162372639";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue