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

Typo in type definition on ServerReactionMessage: messsage_id #368

Closed
yairiff opened this issue Aug 21, 2024 · 4 comments · Fixed by #369
Closed

Typo in type definition on ServerReactionMessage: messsage_id #368

yairiff opened this issue Aug 21, 2024 · 4 comments · Fixed by #369

Comments

@yairiff
Copy link

yairiff commented Aug 21, 2024

Just small thing, on types.d.ts:

export type ServerReactionMessage = {
type: "reaction";
reaction: {
emoji: string;
messsage_id: string;
};
};

on line 465 it says messsages with 3 s..
I used intellisense and obviously it took me quite some time to figure out why i get undefined id
sorry for not being able to make PR myself for that minor thing, I need to learn how to do so sometime...

@Secreto31126
Copy link
Owner

Nice catch! Don't worry, I can make the PR.

Thanks!

@Secreto31126 Secreto31126 mentioned this issue Aug 21, 2024
4 tasks
@Secreto31126
Copy link
Owner

Hi!

Sorry I'm talking to you through a closed issue, but you had been among the people who had been using the library the last few weeks and I would love the input from someone who had been working with it.

What's your opinion on the v4 update? Do you think it's a step forward or backwards? Is the new post return value an improvement or a hustle to use? What else do you think could be improved?

Lots of questions :)

I'm asking because since the breaking update I noticed the npm downloads had tanked a lot, and even myself have mixed feelings about the new system. I haven't used the library from the user end for a few months, so I get the feeling I got out of touch with it.

Let me know what you think!

Thanks, and sorry to bother.

@yairiff
Copy link
Author

yairiff commented Sep 5, 2024 via email

@Secreto31126
Copy link
Owner

Secreto31126 commented Sep 5, 2024

Oh wow, I absolutely wasn't expecting such a detailed and complete reply, really appreciate it!

I love your ideas, the broadcast message with a function is awesome, and the error emitter sounds like a really usefull feature. The only one I'm not sure it would work is the status tracking, mostly because it would break on serverless enviroments, but I will try to think a way around for it.

I'm really happy to see that you like the middlewares, and the fact you were able to create your own sounds crazy to me. I absolutely wasn't expecting it to be a popular utility, mostly because there aren't a lot of them available. If you can/want, I would gladly include your implementation with the integrated ones (with the corresponding attribution, of course).

And about the npm statistics, yesterday it showed only 300 weekly downloads (an 85% decrease), and today it says 0. I thought it was due to v4 having issues or people didn't like it, but now I believe it must be a bug on npm side.

image

It's really weird, but at least I know it's not because v4 wasn't good. The SEO never was on my side, I did my best to increase the docs visibility, but unfortunately it's hard to compete against the well stablished and many years old packages.

I will try to implement your ideas along this week, and if you decide to try v4 in your proyect I would love to hear your thoughts.

Thanks for the help!

PS: I decided to refresh the website just after sending the reply, and seems like the statistics are back to normal 😄

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

Successfully merging a pull request may close this issue.

2 participants