Remove displayAvatarURL, This has been moved to the error generator.
This commit is contained in:
parent
01515377b4
commit
2bd2c95e39
|
@ -10,7 +10,7 @@ module.exports = {
|
||||||
const question = args.slice(0).join(" ")
|
const question = args.slice(0).join(" ")
|
||||||
|
|
||||||
if (!question) {
|
if (!question) {
|
||||||
await message.channel.send(client.generateErrorMessage("You need to ask a question!", message.author.displayAvatarURL()));
|
await message.channel.send(client.generateErrorMessage("You need to ask a question!"));
|
||||||
} else {
|
} else {
|
||||||
await message.channel.send({embed: {
|
await message.channel.send({embed: {
|
||||||
"title": ":8ball: 8Ball",
|
"title": ":8ball: 8Ball",
|
||||||
|
|
|
@ -7,7 +7,7 @@ module.exports = {
|
||||||
const taggedUser = message.mentions.users.first();
|
const taggedUser = message.mentions.users.first();
|
||||||
|
|
||||||
if(!taggedUser) {
|
if(!taggedUser) {
|
||||||
await message.channel.send(client.generateErrorMessage("You need to @mention a user!", message.author.displayAvatarURL()));
|
await message.channel.send(client.generateErrorMessage("You need to @mention a user!"));
|
||||||
} else {
|
} else {
|
||||||
await message.channel.send({embed: {
|
await message.channel.send({embed: {
|
||||||
"title": "<a:SylvBonk:801185845847130113> Bonk",
|
"title": "<a:SylvBonk:801185845847130113> Bonk",
|
||||||
|
|
|
@ -16,7 +16,7 @@ module.exports = {
|
||||||
const gif = (gifchoices[index]);
|
const gif = (gifchoices[index]);
|
||||||
|
|
||||||
if(!taggedUser) {
|
if(!taggedUser) {
|
||||||
await message.channel.send(client.generateErrorMessage("You need to @mention a user!", message.author.displayAvatarURL()));
|
await message.channel.send(client.generateErrorMessage("You need to @mention a user!"));
|
||||||
} else {
|
} else {
|
||||||
await message.channel.send({embed: {
|
await message.channel.send({embed: {
|
||||||
"title": ":heart: Cuddle",
|
"title": ":heart: Cuddle",
|
||||||
|
|
|
@ -15,7 +15,7 @@ module.exports = {
|
||||||
const taggedUser = message.mentions.users.first();
|
const taggedUser = message.mentions.users.first();
|
||||||
|
|
||||||
if(!taggedUser) {
|
if(!taggedUser) {
|
||||||
await message.channel.send(client.generateErrorMessage("You need to @mention a user!", message.author.displayAvatarURL()));
|
await message.channel.send(client.generateErrorMessage("You need to @mention a user!"));
|
||||||
} else {
|
} else {
|
||||||
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
||||||
await message.channel.send({embed: {
|
await message.channel.send({embed: {
|
||||||
|
|
|
@ -15,7 +15,7 @@ module.exports = {
|
||||||
const taggedUser = message.mentions.users.first();
|
const taggedUser = message.mentions.users.first();
|
||||||
|
|
||||||
if(!taggedUser) {
|
if(!taggedUser) {
|
||||||
await message.channel.send(client.generateErrorMessage("You need to @mention a user!", message.author.displayAvatarURL()));
|
await message.channel.send(client.generateErrorMessage("You need to @mention a user!"));
|
||||||
} else {
|
} else {
|
||||||
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
||||||
await message.channel.send({embed: {
|
await message.channel.send({embed: {
|
||||||
|
|
|
@ -25,7 +25,7 @@ module.exports = {
|
||||||
const taggedUser = message.mentions.users.first();
|
const taggedUser = message.mentions.users.first();
|
||||||
|
|
||||||
if(!taggedUser) {
|
if(!taggedUser) {
|
||||||
await message.channel.send(client.generateErrorMessage("You need to @mention a user!", message.author.displayAvatarURL()));
|
await message.channel.send(client.generateErrorMessage("You need to @mention a user!"));
|
||||||
} else {
|
} else {
|
||||||
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
||||||
await message.channel.send({embed: {
|
await message.channel.send({embed: {
|
||||||
|
|
|
@ -14,7 +14,7 @@ module.exports = {
|
||||||
const taggedUser = message.mentions.users.first();
|
const taggedUser = message.mentions.users.first();
|
||||||
|
|
||||||
if(!taggedUser) {
|
if(!taggedUser) {
|
||||||
await message.channel.send(client.generateErrorMessage("You need to @mention a user!", message.author.displayAvatarURL()));
|
await message.channel.send(client.generateErrorMessage("You need to @mention a user!"));
|
||||||
} else {
|
} else {
|
||||||
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
||||||
await message.channel.send({embed: {
|
await message.channel.send({embed: {
|
||||||
|
|
|
@ -14,7 +14,7 @@ module.exports = {
|
||||||
const taggedUser = message.mentions.users.first();
|
const taggedUser = message.mentions.users.first();
|
||||||
|
|
||||||
if(!taggedUser) {
|
if(!taggedUser) {
|
||||||
await message.channel.send(client.generateErrorMessage("You need to @mention a user!", message.author.displayAvatarURL()));
|
await message.channel.send(client.generateErrorMessage("You need to @mention a user!"));
|
||||||
} else {
|
} else {
|
||||||
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
||||||
await message.channel.send({embed: {
|
await message.channel.send({embed: {
|
||||||
|
|
|
@ -13,7 +13,7 @@ module.exports = {
|
||||||
const taggedUser = message.mentions.users.first();
|
const taggedUser = message.mentions.users.first();
|
||||||
|
|
||||||
if(!taggedUser) {
|
if(!taggedUser) {
|
||||||
await message.channel.send(client.generateErrorMessage("You need to @mention a user!", message.author.displayAvatarURL()));
|
await message.channel.send(client.generateErrorMessage("You need to @mention a user!"));
|
||||||
} else {
|
} else {
|
||||||
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
||||||
await message.channel.send({embed: {
|
await message.channel.send({embed: {
|
||||||
|
|
|
@ -13,7 +13,7 @@ module.exports = {
|
||||||
const taggedUser = message.mentions.users.first();
|
const taggedUser = message.mentions.users.first();
|
||||||
|
|
||||||
if(!taggedUser) {
|
if(!taggedUser) {
|
||||||
await message.channel.send(client.generateErrorMessage("You need to @mention a user!", message.author.displayAvatarURL()));
|
await message.channel.send(client.generateErrorMessage("You need to @mention a user!"));
|
||||||
} else {
|
} else {
|
||||||
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
||||||
await message.channel.send({embed: {
|
await message.channel.send({embed: {
|
||||||
|
|
|
@ -18,7 +18,7 @@ module.exports = {
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"name": "Changed nickname successfully!",
|
"name": "Changed nickname successfully!",
|
||||||
"value": "You need to have permission ``CHANGE_NICKNAME`` to change your nick!"
|
"value": `New Nickname: ${newnick}`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "New Nickname",
|
"name": "New Nickname",
|
||||||
|
|
|
@ -7,7 +7,7 @@ module.exports = {
|
||||||
const taggedUser = message.mentions.users.first();
|
const taggedUser = message.mentions.users.first();
|
||||||
|
|
||||||
if(!taggedUser) {
|
if(!taggedUser) {
|
||||||
await message.channel.send(client.generateErrorMessage("You need to @mention a user!", message.author.displayAvatarURL()));
|
await message.channel.send(client.generateErrorMessage("You need to @mention a user!"));
|
||||||
} else {
|
} else {
|
||||||
await message.channel.send({embed: {
|
await message.channel.send({embed: {
|
||||||
"title": ":anger: Slap",
|
"title": ":anger: Slap",
|
||||||
|
|
|
@ -14,7 +14,7 @@ module.exports = {
|
||||||
const taggedUser = message.mentions.users.first();
|
const taggedUser = message.mentions.users.first();
|
||||||
|
|
||||||
if(!taggedUser) {
|
if(!taggedUser) {
|
||||||
await message.channel.send(client.generateErrorMessage("You need to @mention a user!", message.author.displayAvatarURL()));
|
await message.channel.send(client.generateErrorMessage("You need to @mention a user!"));
|
||||||
} else {
|
} else {
|
||||||
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
|
||||||
await message.channel.send({embed: {
|
await message.channel.send({embed: {
|
||||||
|
|
Reference in New Issue