Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ public static void execute(CommandEvent e) {
* Currently, this just creates a left and right arrow.
* Left arrow scrolls back a page. Right arrow scrolls forward a page.
*
* @param start The quote number at the start of the current page.
* @return A row of buttons to go back and forth by one page in a quote list.
* @param start The command at the start of the current page.
* @return A row of buttons to go back and forth by one page in the command list.
*/
private static Component[] createScrollButtons(int start) {
List<Component> components = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public final class CmdAddTrick extends Command {
public CmdAddTrick() {
super();
name = "addtrick";
help = "Adds a new trick, either a string or an embed, if a string you only need the <names] and <body>.";
help = "Adds a new trick, either a string or an embed, if a string you only need the <names> and <body>.";
category = new Category("Info");
arguments = "<string> (or) <embed> <name1> [name2 name3] | <trick content body> (or) <title> "
+ "| <description> | <colour-as-hex-code>";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private void deleteRecentRequests(final Guild guild, final User leavingUser) {
builder.setAuthor(leavingUser.getAsTag(), leavingUser.getEffectiveAvatarUrl());
builder.appendDescription("Deleted request from ")
.appendDescription(leavingUser.getAsMention())
.appendDescription(" as the user left the user.");
.appendDescription(" as the user left the server.");
builder.addField("Message Creation Time",
TimeFormat.DATE_TIME_SHORT.format(message.getTimeCreated()), true);
builder.addField("Auto-Deletion on Leave Duration", deletionTime + " hour(s)", true);
Expand Down