Fix displayAvatarURL
This commit is contained in:
parent
35605fd9a9
commit
01515377b4
|
@ -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!", message.author.displayAvatarURL()));
|
||||
} else {
|
||||
await message.channel.send({embed: {
|
||||
"title": ":8ball: 8Ball",
|
||||
|
|
Reference in New Issue