Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning while using WOKCommands help command #204

Open
EXA-Hub opened this issue Jan 16, 2022 · 2 comments
Open

Warning while using WOKCommands help command #204

EXA-Hub opened this issue Jan 16, 2022 · 2 comments

Comments

@EXA-Hub
Copy link

EXA-Hub commented Jan 16, 2022

i got this error after using help command

[antiCrash] :: Warning
DeprecationWarning: Passing strings for MessageEmbed#setFooter is deprecated. Pass a sole object instead.

@minhdung321
Copy link

minhdung321 commented Jan 19, 2022

You can modify embed-message of WOKCommands in node_modules folder.
Replace a line .setFooter(<content>); to .setFooter({text: <content>});
Or check out this ref to more details: https://discord.js.org/#/docs/discord.js/stable/class/MessageEmbed?scrollTo=setFooter

@EXA-Hub
Copy link
Author

EXA-Hub commented Mar 10, 2022

You can modify embed-message of WOKCommands in node_modules folder. Replace a line .setFooter(<content>); to .setFooter({text: <content>}); Or check out this ref to more details: https://discord.js.org/#/docs/discord.js/stable/class/MessageEmbed?scrollTo=setFooter

in replit we can not reach node_modules folder or edit on it. 😐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants