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

Add reaction message #1108

Closed
Skeeww opened this issue Dec 17, 2020 · 3 comments
Closed

Add reaction message #1108

Skeeww opened this issue Dec 17, 2020 · 3 comments
Labels

Comments

@Skeeww
Copy link

Skeeww commented Dec 17, 2020

Hello,

I'm working on a bot and I want to react to a message but I can't find methods that are not deprecated like addReaction() or addMessageReaction()

image

Thanks for your help

@ghost
Copy link

ghost commented Dec 17, 2020

Those methods are not deprecated. The overload with userID property is deprecated. You can continue to use these methods with no issue.

@Skeeww
Copy link
Author

Skeeww commented Dec 17, 2020

Ah okay thank you for your quick response

@Skeeww Skeeww closed this as completed Dec 17, 2020
@bsian03
Copy link
Collaborator

bsian03 commented Dec 17, 2020

It seems like, for at least VSC, that the order overloads come in is literally how it's listed in the file. As you're filling in the parameters, you will be able to scroll through each of the overloads but not when intellisense is making a prediction of what you want (it selects the first in the list). It was something I hadn't considered, but something which could be improved on VSC's end also. I'll PR this at some point in the future to stop deprecated overloads appearing by default

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

No branches or pull requests

3 participants