Some fixes
This commit is contained in:
parent
abca391493
commit
551bb13cbc
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/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://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());
|
||||
}
|
||||
|
||||
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) {
|
||||
AudioPlayer p;
|
||||
if (hasPlayer(guild)) {
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ public class ClydeCommand implements Command {
|
|||
e.printStackTrace();
|
||||
}
|
||||
webhook.delete().queue();
|
||||
event.getMessage().delete().queue();
|
||||
} else {
|
||||
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 DiscordBoats = "https://discord.boats/api/bot/637002314162372639";
|
||||
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 DiscordBots = "https://top.gg/api/bots/637002314162372639/stats";
|
||||
private static String BotListSpace = "https://api.botlist.space/v1/bots/637002314162372639";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue