Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
69 views
in Technique[技术] by (71.8m points)

javascript - Cannot Read The Property Of "Discord.MessageEmbed()"

I have like no coding Experiance and was Directed here to ask this question. So I would Like Some help please ;-; Image Here I have no idea what im doing lol I just watched 5 videos on how to make a Discord Bot

question from:https://stackoverflow.com/questions/65866206/cannot-read-the-property-of-discord-messageembed

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You just have to change your first line into:

const Discord = require('discord.js');

And you have to remove the Discord parameter from your execute function.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...