https://github.com/mrtomatolegit/discord-screenshot
Create realistic images that simulate messages sent to Discord
https://github.com/mrtomatolegit/discord-screenshot
discord discord-message image-manipulation jimp message
Last synced: 2 months ago
JSON representation
Create realistic images that simulate messages sent to Discord
- Host: GitHub
- URL: https://github.com/mrtomatolegit/discord-screenshot
- Owner: mrTomatolegit
- Created: 2022-03-03T19:22:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-19T13:34:03.000Z (almost 3 years ago)
- Last Synced: 2025-01-29T09:48:50.392Z (4 months ago)
- Topics: discord, discord-message, image-manipulation, jimp, message
- Language: JavaScript
- Homepage:
- Size: 391 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discord Screenshot Generator
This package will help you create realistic images that simulate messages from Discord
(Not published to NPM)
# Installation
NPM:\
`npm install discord-screenshot`\
Yarn:\
`yarn add discord-screenshot`# How to use
```js
new DiscordScreenshot()
.setPfp('./pfp.png')
.then(x => x.setUsername('MrTomato'))
.then(x => x.setTimestamp(new Date()))
.then(x => x.setContent('Hello world!'))
.then(x => x.construct())
.then(x => x.write('./output.png'));
```# How was this made
Check [the MEASUREMENTS file](./MEASUREMENTS.md) for the measurements used to create the image accurately