Merge branch 'master' into dev

This commit is contained in:
Alex 2020-05-25 20:20:39 -05:00 committed by GitHub
commit 5a42a3e11a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -144,6 +144,7 @@ client.on("message", async message => {
if(command === "quote") { if(command === "quote") {
let quotes = require(`../quotes.json`); let quotes = require(`../quotes.json`);
var quoteadd = ""; var quoteadd = "";
var selector; var selector;
try{ try{
selector = args[0].toLowerCase(); selector = args[0].toLowerCase();
@ -167,7 +168,6 @@ client.on("message", async message => {
else { else {
return message.reply("you can add quotes by running `?quote add <person> Quote goes here`"); return message.reply("you can add quotes by running `?quote add <person> Quote goes here`");
}; };
};
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
if (command === "version") { if (command === "version") {
return message.channel.send(`\`\`\`\ return message.channel.send(`\`\`\`\