add multiple prefixes and cspy prefixes

totallynotskidded™ some codes from ChipmunkBot™
This commit is contained in:
ChomeNS
2023-03-25 13:33:56 +07:00
parent e9fa84c93e
commit 94b7fe8ec8
19 changed files with 376 additions and 26 deletions

View File

@@ -7,11 +7,14 @@ import net.kyori.adventure.text.Component;
public class CommandContext {
@Getter public final Bot bot;
@Getter public final String prefix;
@Getter private final String hash;
@Getter private final String ownerHash;
public CommandContext(Bot bot, String hash, String ownerHash) {
public CommandContext(Bot bot, String prefix, String hash, String ownerHash) {
this.bot = bot;
this.prefix = prefix;
this.hash = hash;
this.ownerHash = ownerHash;
}