1.0.4 • Published 3 years ago
dc_ref_msg v1.0.4
This is an unofficial Package for getting the Referenced Message you can access it from the message Object which you get from bot.on('message'), You need "discord.js".
Example: bot.on('message', (msg) => { if(!msg.referenceIsNull()) { msg.channel.send(msg.referenced_message.content); } });
Firstly you need to use dc_ref_msg.extendIt(dc_ref_msg.referencedMessage) so it Works, otherwise it will give you an Error. These commands add the referenced_message Object to the Message Object
If you need help add me and ask your Questions Hue_Farbe#0919