A project created to display images sent in a Discord chat to a website using discord.js and socket.io!
Node.JS, text editor (e.g. VSCode)
Meme Machine can be used to display memes on your social media (e.g. YouTube Videos & Twitch Streams) using OBS's or Slobs's Browser Source.
- Run
git clone https://github.com/xDestinoJS/meme-machinein your terminal - Run
cd meme-machine - Run
npm install discord.js socket.io express - Open
index.jswith your text editor and replace the variables "token" and "url":- replace
tokenwith your Discord bot token (you can get one at the Discord Developer Portal) - replace
urlwith the url of your website (not required)
- replace
- Run
node . - Point your browser to
http://localhost:3000
- Go to the Discord Developer Portal and click on the "New Application" button. Then, give the application a name and click "Create":
- Then, create a Bot User by navigating to the "Bot" tab under settings and clicking "Add Bot":
Click "Yes, do it!" to continue. - Disable public bot if you don't want other people to invite your bot:

- Then, copy your bot token:

⚠️ Always keep the token a secret, as that is the equivalent to your bot's password. Anyone with the token can log in as your bot.
- Get the Client ID by navigating to the "General Information" tab under settings
- Click "Copy" under Client ID

- Replace "INSERT_CLIENT_ID_HERE" with your Client ID:
https://discord.com/oauth2/authorize?client_id=INSERT_CLIENT_ID_HERE&scope=bot&permissions=3072 - Go to that URL
TimeTicks, xDestino and the authors of socket.io, discord.js and express
Users of Meme Machine have the ability to post any image, including NSFW images. I'm not responsible for any ban on any social media for any NSFW content being displayed.



