Skip to content

Commit

Permalink
Fixing spelling issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptiklemur committed Feb 16, 2016
1 parent 9eca468 commit 9b03e8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Command/RequestsCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ class RequestsCommand extends AbstractCommand {
if (pages > 1) {
message += "\n";
if (page < pages) {
message += `To show the next page, type \`${this.prefix}request ${page + 1}\``;
message += `To show the next page, type \`${this.prefix}requests ${page + 1}\``;
}
if (page < pages && page > 1) {
message += "\n";
}
if (page > 1) {
message += `To show the previous page, type \`${this.prefix}request ${page - 1}\``;
message += `To show the previous page, type \`${this.prefix}requests ${page - 1}\``;
}
}
message += "\n";
Expand Down
2 changes: 1 addition & 1 deletion src/Helper/DJHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class DJHelper {
}

isDJ(server, user) {
if (!server) {
if (!server || !server.roles) {
return false;
}

Expand Down

0 comments on commit 9b03e8b

Please sign in to comment.