Remove displayAvatarURL, This has been moved to the error generator.

This commit is contained in:
IDeletedSystem64 2022-04-21 10:04:03 -05:00
parent 01515377b4
commit 2bd2c95e39
13 changed files with 13 additions and 13 deletions

View File

@ -10,7 +10,7 @@ module.exports = {
const question = args.slice(0).join(" ")
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 {
await message.channel.send({embed: {
"title": ":8ball: 8Ball",

View File

@ -7,7 +7,7 @@ module.exports = {
const taggedUser = message.mentions.users.first();
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 {
await message.channel.send({embed: {
"title": "<a:SylvBonk:801185845847130113> Bonk",

View File

@ -16,7 +16,7 @@ module.exports = {
const gif = (gifchoices[index]);
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 {
await message.channel.send({embed: {
"title": ":heart: Cuddle",

View File

@ -15,7 +15,7 @@ module.exports = {
const taggedUser = message.mentions.users.first();
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 {
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
await message.channel.send({embed: {

View File

@ -15,7 +15,7 @@ module.exports = {
const taggedUser = message.mentions.users.first();
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 {
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
await message.channel.send({embed: {

View File

@ -25,7 +25,7 @@ module.exports = {
const taggedUser = message.mentions.users.first();
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 {
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
await message.channel.send({embed: {

View File

@ -14,7 +14,7 @@ module.exports = {
const taggedUser = message.mentions.users.first();
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 {
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
await message.channel.send({embed: {

View File

@ -14,7 +14,7 @@ module.exports = {
const taggedUser = message.mentions.users.first();
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 {
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
await message.channel.send({embed: {

View File

@ -13,7 +13,7 @@ module.exports = {
const taggedUser = message.mentions.users.first();
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 {
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
await message.channel.send({embed: {

View File

@ -13,7 +13,7 @@ module.exports = {
const taggedUser = message.mentions.users.first();
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 {
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
await message.channel.send({embed: {

View File

@ -18,7 +18,7 @@ module.exports = {
"fields": [
{
"name": "Changed nickname successfully!",
"value": "You need to have permission ``CHANGE_NICKNAME`` to change your nick!"
"value": `New Nickname: ${newnick}`
},
{
"name": "New Nickname",

View File

@ -7,7 +7,7 @@ module.exports = {
const taggedUser = message.mentions.users.first();
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 {
await message.channel.send({embed: {
"title": ":anger: Slap",

View File

@ -14,7 +14,7 @@ module.exports = {
const taggedUser = message.mentions.users.first();
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 {
const gif = gifchoices[Math.floor(Math.random() * gifchoices.length)];
await message.channel.send({embed: {