how to **actually** use discord.js-utilites
i know discord.js and TS but for the life of me i cant figure out what the discord.js-utilities actually does and how to use it to the best of my ability.
or am i just stupid
2 Replies
It has various utilities for when writing a discordjs bot. That's all there is to it. You import the thing you want to use, and you use it.
https://www.sapphirejs.dev/docs/Documentation/api-utilities/modules/discord_js_utilities_src
The main thing many people use is PaginatedMessage which is that - a way to paginate a message. Use @Dragonite /Pokémon command for an example.
The other most used are the type guard functions like isMessageInstance or canSendMessages
If you want me to elaborate more then please clarify what exactly you want to know because with the given question I can really only give a general description