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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.510latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.510
1.1.41
1.1.32
1.1.21
1.1.11
1.1.01
1.0.91
1.0.81
1.0.71
1.0.61
1.0.52
1.0.41
1.0.31
1.0.21
1.0.11
1.0.02

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