Hi, I really like this addon, but each time when I do anything with it, TypeScript compiler yells at me that this package does not support any typings, no ES6 support, no anything. Because of that, I need to make my event listeners like:
reactionListener.on('reacted', (event: {msg: Message, emoji: { name: string, id: string | null, animated?: boolean}, userID: string}) => {
//console.log(event);
msg.channel.createMessage('You reacted with: ' + event.emoji.name);
});
That makes good rather ugly and chaotic. I would love to see official support for typings, at least at basic level.
Hi, I really like this addon, but each time when I do anything with it, TypeScript compiler yells at me that this package does not support any typings, no ES6 support, no anything. Because of that, I need to make my event listeners like:
That makes good rather ugly and chaotic. I would love to see official support for typings, at least at basic level.