Describe the bug
The embed for the giveaway doesn't appear
A clear and concise description of what the bug is.
Error
A screenshot or the text block of the error if there is one.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:53) DeprecationWarning: Passing strings for MessageEmbed#setFooter is deprecated. Pass a sole object instead.
To Reproduce
Steps to reproduce the behavior:
start a gaw normally
Expected behavior
A clear and concise description of what you expected to happen.
I expected an embed to appear
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
discord-giveaways version: latest
discord.js version: latest
Custom Database (if you use one):
Add any other context about the problem here.
code:
client.giveawaysManager.start(message.channel, {
time: ms(time),
winnerCount: winners,
prize: prize,
hostedBy: message.author,
extraData: {
role: role == null ? "null" : role.id,
},
messages: {
giveaway: `${emojis.categories.giveaways} **Giveaway** ${emojis.categories.giveaways}`,
giveawayEnded: "🎊 **Giveaway Ended!** 🎊",
timeRemaining: "Time left: **{duration}**!",
inviteToParticipate: 'React with "🎉" to participate!',
winMessage: "🎊 Congrats, {winners} for winning **{prize}**!",
embedFooter: `${client.user.tag}`,
noWinner: "Nobody won because of the invalid participations!",
hostedBy: `Hosted by: {user} \n ${
role == null ? "Must join in time" : "Required Role: " + role.toString()
}`,
winners: "winner(s)",
endedAt: "Ended at",
units: {
seconds: "seconds",
minutes: "minutes",
hours: "hours",
days: "days",
},
},
Describe the bug
The embed for the giveaway doesn't appear A clear and concise description of what the bug is.
Error
A screenshot or the text block of the error if there is one.
To Reproduce
Steps to reproduce the behavior: start a gaw normally Expected behavior
A clear and concise description of what you expected to happen. I expected an embed to appear
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
discord-giveaways
version: latestdiscord.js
version: latestAdd any other context about the problem here. code: