Merge pull request #155 from BigBotNetwork/greg-dev

Greg dev
This commit is contained in:
Skidder 2019-12-05 07:58:29 -08:00 committed by GitHub
commit ed3f29032c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 48 additions and 5 deletions

View file

@ -9,3 +9,11 @@ Hadder Discord is a multi-purpose Discord Bot with 100% uptime.
<a href="https://discordextremelist.xyz/bots/Hadder"><img src="https://discordextremelist.xyz/api/bot/637002314162372639/widget"/></a>
[![Discord Bots](https://top.gg/api/widget/637002314162372639.svg)](https://top.gg/bot/637002314162372639)
[![Hadder's Widget](https://api.botlist.space/widget/637002314162372639/2 "Hadder's Widget")](https://botlist.space/bot/637002314162372639?utm_source=bls&utm_medium=widget&utm_campaign=637002314162372639)
## Hadder Team
### Developer
Skidder#6775 <br>
Hax#6775
### Designer
TopComp#1288

View file

@ -1,3 +0,0 @@
Manifest-Version: 1.0
Main-Class: com.bbn.hadder.Hadder

View file

@ -86,6 +86,7 @@ public class Hadder {
new RandomPornCommand(),
new SoloCommand(),
new RegionChangeCommand(),
new AboutCommand(),
new LinkCommand()), config, helpCommand);
builder.addEventListeners(

View file

@ -0,0 +1,37 @@
package com.bbn.hadder.commands.general;
/*
* @author Skidder / GregTCLTK
*/
import com.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor;
public class AboutCommand implements Command {
@Override
public void executed(String[] args, CommandEvent event) {
event.getTextChannel().sendMessage(new MessageEditor().setDefaultSettings(MessageEditor.MessageType.INFO)
.setTitle("Hadder - About")
.setDescription("Hadder is an open source Discord bot.")
.addField("Support the Developers", "Hadder is completely free for everyone. We would appreciate it you donate some money [here](https://donatebot.io/checkout/448554629282922527?buyer=" + event.getAuthor().getId() + "). :smiley:", true)
.setThumbnail("https://bigbotnetwork.com/images/Hadder.png")
.build()).queue();
}
@Override
public String[] labels() {
return new String[]{"about", "info"};
}
@Override
public String description() {
return "Shows infos about Hadder";
}
@Override
public String usage() {
return "";
}
}

View file

@ -161,7 +161,7 @@ public class RegionChangeCommand implements Command {
@Override
public String[] labels() {
return new String[]{"changeregion"};
return new String[]{"changeregion", "cr", "change-region"};
}
@Override
@ -171,6 +171,6 @@ public class RegionChangeCommand implements Command {
@Override
public String usage() {
return "<region>/<list>";
return "<region>";
}
}