Skip to content

Commit

Permalink
Merge pull request #37 from Sinthorion/master
Browse files Browse the repository at this point in the history
Project cleanup; remove repo size
  • Loading branch information
Abby Seward-Munday authored Dec 5, 2017
2 parents 984852e + 37e4a51 commit 9756128
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 22 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ config.properties
/out
/.idea
/bin
/src/javascript/bot/*.jar
8 changes: 0 additions & 8 deletions .idea/dictionaries/AbbyTheRat.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

5 changes: 1 addition & 4 deletions src/bot/CommandStructure/SetPrefixCS.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ public SetPrefixCS(SharedContainer container, String commandName, int commandID,
@Override
public void execute(Member author, User authorUser, MessageChannel channel, Message message, String parameters, Map<String, CommandStructure> commandList) {
//Check to see if we're either botAdminOwner or guild Owner
String curGuildPrefix = "!";
Long guildID = author.getGuild().getIdLong();
if (dbMan.getPrefix(guildID) != null) {
curGuildPrefix = dbMan.getPrefix(guildID);
}
String curGuildPrefix = dbMan.getPrefix(guildID);

if (hasPermission(author)) {
//if we don't have any parameters, we're resetting to default
Expand Down
Binary file removed src/javascript/bot/Ducky-Mc-Duckerson.jar
Binary file not shown.

0 comments on commit 9756128

Please sign in to comment.