some sheeet

added a lock and finished the broken half created command manager (for
now)

Signed-off-by: deepCurse <leverplays@gmail.com>
This commit is contained in:
lever1209 2021-12-07 16:01:12 -04:00
commit 7a57e8a39d
No known key found for this signature in database
GPG key ID: EEBCBB60C9DFC782
14 changed files with 298 additions and 103 deletions

View file

@ -27,6 +27,7 @@ public class Prefix implements GuildCommandInterface {
Guild.Prefix.setPrefix(
blob.getEvent().getGuild().getIdLong(), argumentList.get("prefix").getWildCardString());
blob.getEvent().getChannel().sendMessage("Set prefix to " + argumentList.get("prefix").getWildCardString()).queue();
blob.getChannel().sendMessage("Remember: you can always ping me to use any command in case you forget the prefix").queue();
} else {
Guild.Prefix.setPrefix(
blob.getEvent().getGuild().getIdLong(), Global.prefix);