-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[New Commands] + Ping + CheckPixelRoles + RequestDailyMessage + BotInfo + Rank + TopTen [Bug Fixes] * A couple spelling mistakes. * Fixed Top Ten Role allocation * Fixed pixels being granted while xpgain was false. * Probably fixed the pinned art issue * Deny Invites no longer says that the user was attempting to put an invite in a custom command. * Fixed a bug where you were shown to have a rank higher than what you were supposed to have. * Fixed a bug where the sudo command wasn't able to sudo custom commands properly. [Changes] * updated the Pixels command to have a visual display of your progress to the next level * formatted pixel numbers to use commas * changed it so that if you don't have any xp it wont show your level or rank. * the embed image tag will now only attempt to upload a file if the user has the EmbedLinks Permission. * moved bot info from help command to its own command. + added a typing status when sending a command response
- Loading branch information
1 parent
09ccf65
commit a89e2ff
Showing
52 changed files
with
1,912 additions
and
1,106 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package Commands.DMCommands; | ||
|
||
import Commands.DMCommandObject; | ||
import Interfaces.DMCommand; | ||
import sx.blah.discord.handle.obj.IChannel; | ||
|
||
/** | ||
* Created by Vaerys on 15/07/2017. | ||
*/ | ||
public class TestDM implements DMCommand { | ||
@Override | ||
public String execute(String args, DMCommandObject command) { | ||
// for (IChannel c : command.client.getGuildByID(176434793674833920L).getChannels()) { | ||
// if (("#" + c.getName()).equalsIgnoreCase(args)) { | ||
// return c.getName(); | ||
// } | ||
// } | ||
// return "channel could not be found"; | ||
return "> You've done your testing"; | ||
} | ||
|
||
@Override | ||
public String[] names() { | ||
return new String[]{"Test"}; | ||
} | ||
|
||
@Override | ||
public String description() { | ||
return "Is a test"; | ||
} | ||
|
||
@Override | ||
public String usage() { | ||
return "[args]"; | ||
} | ||
|
||
@Override | ||
public String type() { | ||
return TYPE_CREATOR; | ||
} | ||
|
||
@Override | ||
public boolean requiresArgs() { | ||
return true; | ||
} | ||
} |
Oops, something went wrong.