From 38fa8c4629ad1cb6698ead2bfea73cb2f37f6ec3 Mon Sep 17 00:00:00 2001 From: TheEssem Date: Fri, 6 Dec 2019 08:55:30 -0600 Subject: [PATCH] Fix sanitization with homebrew, changed links to point to the new help link --- assets/pages/help.pug | 2 +- commands/homebrew.js | 2 +- commands/invite.js | 2 +- readme.md | 4 ++-- utils/misc.js | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/pages/help.pug b/assets/pages/help.pug index e8129cf..d6c2619 100644 --- a/assets/pages/help.pug +++ b/assets/pages/help.pug @@ -4,7 +4,7 @@ head meta(name='description' content='The command list for esmBot') meta(property='og:title' content='esmBot Command List') meta(property='og:site_name' content='esmBot') - meta(property='og:url' content='https://essem.space/esmBot/commands.html') + meta(property='og:url' content='https://projectlounge.pw/esmBot/help.html') meta(property='og:description' content='This is the command list for esmBot.') meta(property='og:type' content='object') meta(property='og:image' content='https://raw.githubusercontent.com/TheEssem/esmBot/master/esmbot.png') diff --git a/commands/homebrew.js b/commands/homebrew.js index 4bcdae7..e301476 100644 --- a/commands/homebrew.js +++ b/commands/homebrew.js @@ -7,7 +7,7 @@ exports.run = async (message, args) => { if (args.length === 0) return `${message.author.mention}, you need to provide some text to make a Homebrew Channel edit!`; message.channel.sendTyping(); const template = "./assets/images/hbc.png"; - const cleanedMessage = args.join(" ").toLowerCase().replace(/&/g, "\\&").replace(/>/g, "\\>").replace(/ { - return `${message.author.mention}, you can invite me to your server here: `; + return `${message.author.mention}, you can invite me to your server here: `; }; exports.category = 1; diff --git a/readme.md b/readme.md index cf0e757..c97400e 100644 --- a/readme.md +++ b/readme.md @@ -5,7 +5,7 @@ esmBot is an entertainment-focused Discord bot made using [Eris](https://abal.moe/Eris/) with soundboard, utility, and image manipulation commands. ## Usage -You can invite the bot to your server using this link: https://discordapp.com/oauth2/authorize?client_id=515571942418546689&scope=bot&permissions=70642766 +You can invite the bot to your server using this link: https://projectlounge.pw/invitedev A command list can be found [here](https://projectlounge.pw/esmBot/help.html). @@ -26,5 +26,5 @@ Finally, fill in the info inside `.env.example`, rename it to `.env`, and run `a If you want to run this on Windows, I highly recommend using Windows Subsystem for Linux. I personally used the [Ubuntu](https://www.microsoft.com/store/productId/9NBLGGH4MSV6) distro for testing, however other distros might work as well. ## Credits -Icon by [Stellio](https://twitter.com/MeloncholySteel). +Icon by [Stellio](https://twitter.com/SteelStellio). All images, sounds, and fonts are copyright of their respective owners. diff --git a/utils/misc.js b/utils/misc.js index 6583cde..98e847b 100644 --- a/utils/misc.js +++ b/utils/misc.js @@ -69,7 +69,7 @@ exports.defaults = { }; exports.tagDefaults = { help: { - content: "https://essem.space/esmBot/commands.html?dev=true", + content: "https://projectlounge.pw/esmBot/help.html", author: "198198681982205953" } };