uploading mass code shit thing ive made so far, shouldnt need too much

detail because its the beginning of the project

Signed-off-by: deepCurse <leverplays@gmail.com>
This commit is contained in:
lever1209 2021-12-01 02:32:35 -04:00
commit 172f86193d
10 changed files with 586 additions and 7 deletions

View file

@ -0,0 +1,29 @@
package pkg.deepCurse.nopalmo.command.guildCommand;
import java.util.List;
import net.dv8tion.jda.api.events.message.guild.GuildMessageReceivedEvent;
import pkg.deepCurse.nopalmo.command.GuildCommand;
import pkg.deepCurse.nopalmo.database.DatabaseTools;
import pkg.deepCurse.nopalmo.manager.GuildCommandManager;
public class Ping extends GuildCommand {
@Override
public void run(List<String> args, GuildMessageReceivedEvent guildMessage, GuildCommandManager commandManager)
throws Exception {
DatabaseTools.Tools.Guild.Prefix.createPrefix(guildMessage.getGuild().getIdLong(), args.get(0));
}
@Override
public String[] getCommandCalls() {
return new String[] {"ping"};
}
@Override
public HelpPage getHelpPage() {
return HelpPage.Info;
}
}