/*
 * Skybot, a multipurpose discord bot
 *      Copyright (C) 2017  Duncan "duncte123" Sterken
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published
 * by the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package ml.duncte123.skybot.objects.command;

import ml.duncte123.skybot.audio.GuildMusicManager;
import ml.duncte123.skybot.utils.AirUtils;
import ml.duncte123.skybot.utils.AudioUtils;
import net.dv8tion.jda.core.entities.Guild;
import net.dv8tion.jda.core.managers.AudioManager;

public abstract class MusicCommand extends Command {

    protected AudioUtils au = AirUtils.audioUtils;

    protected GuildMusicManager getMusicManager(Guild guild) {
        return AirUtils.audioUtils.getMusicManager(guild);
    }

    protected AudioManager getAudioManager(Guild guild) {
        return guild.getAudioManager();
    }

}

@@ -1108,184 +1108,704 @@
     
-protected AudioUtils au = AirUtils.audioUtils;%0A%0A    protected GuildMusicManager getMusicManager(Guild guild) %7B%0A        return AirUtils.audioUtils.getMusicManager(guild);%0A    %7D%0A
+/**%0A     * This holds the audio utils class%0A     */%0A    protected AudioUtils au = AirUtils.audioUtils;%0A%0A    /**%0A     * This is a shortcut for getting the music manager%0A     * @param guild the guild to get the music manager for%0A     * @return the %7B@link ml.duncte123.skybot.audio.GuildMusicManager GuildMusicManager%7D for that guild%0A     */%0A    protected GuildMusicManager getMusicManager(Guild guild) %7B%0A        return AirUtils.audioUtils.getMusicManager(guild);%0A    %7D%0A%0A    /**%0A     * This is a shortcut for getting the audio manager%0A     * @param guild the guild to get the audio manager for%0A     * @return the %7B@link net.dv8tion.jda.core.managers.AudioManager AudioManager%7D from the guild%0A     */
 %0A   

Add javadoc