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:
parent
06b8ce1c5b
commit
172f86193d
10 changed files with 586 additions and 7 deletions
29
src/pkg/deepCurse/nopalmo/command/guildCommand/Ping.java
Normal file
29
src/pkg/deepCurse/nopalmo/command/guildCommand/Ping.java
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue