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

Not sending embedded messages #7

Closed
LeonardM01 opened this issue Mar 26, 2022 · 6 comments
Closed

Not sending embedded messages #7

LeonardM01 opened this issue Mar 26, 2022 · 6 comments

Comments

@LeonardM01
Copy link

LeonardM01 commented Mar 26, 2022

Noticed a problem in the index.js file which is responsible for the poll function...with the new version of discord.js and embedded message should and only can be sent like so:
message.channel.send({embeds: [embed]});
unlike before:
message.channel.send({ embed}) ;
So if you just implement that the poll function will be usable again.

@nicolasmf
Copy link
Owner

nicolasmf commented Mar 27, 2022

Hey thanks for the tip ! I'll do that right away. It's been a while since I worked on this project, sorry

@nicolasmf
Copy link
Owner

nicolasmf commented Mar 27, 2022

Fixed.

@AZERTY442005
Copy link

AZERTY442005 commented Jun 17, 2022

Hey, i'm just for asking if you updated your index.js file into the NPM Package.
Because i'm getting the same issue at line 17.
Thanks so much

@nicolasmf
Copy link
Owner

Hey !
Yes I did. Have you tried updating the package ?

@AZERTY442005
Copy link

Hey ! Yes I did. Have you tried updating the package ?

Yes, same problem, version 1.1.2
I did, "npm uninstall discord.js-poll" and "npm install discord.js-poll", from 1.1.2 to 1.1.2

@nicolasmf
Copy link
Owner

Fixed in version 1.2.1. Thanks !

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

3 participants