This Meme Doesn't Exist
You've probably wondered why the meme doesn't exist. That's because it's AI generated and no one have ever wrote such memes before:)
Okie but how does it work?
What's Included?
- 8 prefix commands for 8 different meme templates
- batman slaps robbin
- change my mind
- distracted boyfriend
- drake yes no meme
- one does not simply
- left or right road meme
- balloon running away
- two buttons
- four gallery images to show you how to use
Procedure of how it's made'
- we used autocode-puppeteer (lightweight version of puppeteer)
to open up the AI meme generator page and grabbed the page URL from the Share Page
let generatedLink = await getText(page, 'input.img-code.link');
- We then launched a second tab and re-used the page URL to grab the actual image source URL which is embedded onto the HTML page URL
//launch another new page
const page2 = await browser.newPage();
//open up the generated link page
await page.goto(generatedLink);
- By using the image source URL, we can then place it in the
message.embeds[0].image.url
field
embeds: [
{
title: `Meme? lmao`,
image: {
url: `${img}`
}
}
]
How to make more templates?
+ >>> Start
+ WHAT YOU SHOULD DO
+ duplicate one of the files and modify line 46's div child number
+ example for batman-slap.js where the div child number is located at 4 because the template is fourth in place
+ await page.click('#aim-meme-btns > div:nth-child(4) > img');
- WHAT ELSE COULD YOU DO
- add a reply to the user's message so they'd know the meme is generated for them.
- >>> End
Preview
Change My Mind

Batman Slaps Robbin

Distracted Boyfriend

Drake

📃About the Author