discord-cloner

1.1.5 • Public • Published

discord-cloner 101

To clone a message, use "cloneMsg({ message: message obj, channel: channel obj })".

To get your message variable, fetch it using discord.js's fetch function. Same with the channel variable.

You can also use the "spoof: true" property to spoof any messages you want to clone, this will create a webhook and send the message through that webhook, with the webhook's name and pfp matching the cloned message's author's pfp and name.

Non-Spoof Example: https://cdn.discordapp.com/attachments/1080219392337522718/1115339793015001191/Screenshot_1061.png

Spoof Example: https://cdn.discordapp.com/attachments/1080219392337522718/1115339792780103933/Screenshot_1060.png

Readme

Keywords

Package Sidebar

Install

npm i discord-cloner

Weekly Downloads

26

Version

1.1.5

License

ISC

Unpacked Size

12 kB

Total Files

3

Last publish

Collaborators

  • jaso0on