-
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.
* fixed a couple minor bugs to do with logging + StartupGuide command added, links to Wiki
- Loading branch information
1 parent
858ceb1
commit bf6941d
Showing
10 changed files
with
280 additions
and
161 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
package Commands.Help; | ||
|
||
import Commands.Command; | ||
import Commands.CommandObject; | ||
import sx.blah.discord.handle.obj.Permissions; | ||
|
||
/** | ||
* Created by Vaerys on 22/02/2017. | ||
*/ | ||
public class StartUpGuide implements Command { | ||
@Override | ||
public String execute(String args, CommandObject command) { | ||
return "https://github.com/Vaerys-Dawn/DiscordSailv2/wiki/S.A.I.L-Startup-Guide"; | ||
} | ||
|
||
@Override | ||
public String[] names() { | ||
return new String[]{"StartUpGuide"}; | ||
} | ||
|
||
@Override | ||
public String description() { | ||
return "Posts a link to the Bot's Startup Guide on its wiki."; | ||
} | ||
|
||
@Override | ||
public String usage() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public String type() { | ||
return TYPE_HELP; | ||
} | ||
|
||
@Override | ||
public String channel() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public Permissions[] perms() { | ||
return new Permissions[0]; | ||
} | ||
|
||
@Override | ||
public boolean requiresArgs() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public boolean doAdminLogging() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public String dualDescription() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public String dualUsage() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public String dualType() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public Permissions[] dualPerms() { | ||
return new Permissions[0]; | ||
} | ||
} |
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
Binary file not shown.
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 |
---|---|---|
@@ -1 +1 @@ | ||
version=2.4.8 | ||
version=2.4.9 |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#Generated by Maven | ||
#Wed Feb 22 10:44:18 AEDT 2017 | ||
version=2.4.8 | ||
#Wed Feb 22 15:19:32 AEDT 2017 | ||
version=2.4.9 | ||
groupId=com.github.vaerys | ||
artifactId=DiscordSAIL |
Binary file not shown.