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

Bug sending message to thread #52

Open
rafaelsupport opened this issue Sep 11, 2023 · 0 comments
Open

Bug sending message to thread #52

rafaelsupport opened this issue Sep 11, 2023 · 0 comments

Comments

@rafaelsupport
Copy link

Hey,

I'm sending some messages to threads appending this in url: ?thread_id=<thread ID>. To send text messages is working fine, but, when I use sendFile, this method doesn't send to my thread, it send to the main text channel
How can I solve this?

const { Webhook } = require('discord-webhook-node');

const hook = new Webhook(hook_url);
hook.setUsername(username);
hook.setAvatar(avatar);

hook.sendFile(filename)
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

1 participant