Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SunburntRock89 committed Feb 23, 2018
1 parent beac2cc commit 598e7f4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions JSON/emotes.json
@@ -0,0 +1 @@
[]
2 changes: 1 addition & 1 deletion commands/call.js
Expand Up @@ -342,7 +342,7 @@ module.exports = async(client, message, args) => {
message.reply(":white_check_mark: You hung up the call.");
return collector.stop();
}
if (message.content.match(/^[0-9]+$/) != null) {
if (message.content.match(/^[0-9]+$/) != null || message.content.contains("-")) {
cmessage.delete();
mainEmbed.edit({
embed: {
Expand Down
1 change: 0 additions & 1 deletion commands/wizard.js
Expand Up @@ -39,7 +39,6 @@ module.exports = async(client, message, args) => {
.replace(/(t|u|v)/ig, "8")
.replace(/(w|x|y|z)/ig, "9")
.replace(/-/ig, "")
.replace("-", "")
.replace("(", "")
.replace(")", "")
.replace(/\s+/g, "");
Expand Down

0 comments on commit 598e7f4

Please sign in to comment.