Image Command Priorities
Images and memes ยท Updated
New to OcelotBOT? It's a free Discord bot, add it to your server first to follow along.
OcelotBOT's image commands, such as /filter bulge or /filter rainbow, all follow the same logic for determining which image will be used for a command. For a beginner's walkthrough, see how to use image filters and make memes.
Order
1. Is there something in the image option?
If you fill in the image option, OcelotBOT looks at what you entered first:
a. A link
If it starts with http it will always be used, even if it is not an image link. Direct links to images work best.
b. A user
If it's a mention of a user, that user's avatar is used.
c. An emoji
Emojis, both normal and custom server ones, will be turned into an image and used.
2. Is there an image in the channel?
If the image option is empty, or doesn't contain any of the above, OcelotBOT looks back through the recent messages in the channel, newest first, and uses the first one that has an image. Within each message it checks, in this order:
a. Does the message start with a link
Again, any link counts here, even a non-image one.
b. Does the message have an attachment
If there are multiple attachments, the first one is used.
c. Does the message have an embed
If a message contains multiple embeds, only the first is used. Only the embed's image will be used, not the author or thumbnail fields, or any links in the embed.
For this step OcelotBOT needs the View Channel and Read Message History permissions in the channel, otherwise it can't look back for images.
Commands with two images
/images overlay takes two images, image1 and image2. Each is found using the rules above. If image2 is empty, the first image found in the channel is used for image1 and the next one back is used for image2.
Examples
An emoji in the image option is used before anything in the channel.
- /filter bulgeimage๐ค
An emoji in a previous message will not work, only images are picked up from the channel.

- /filter bulge
Commands in this guide
/filter bulgeโ Make an image bulge in the middle./filter rainbowโ Rainbow Image/images overlayโ Overlay Images
Try it in your server
OcelotBOT is a free Discord bot, add it to your server to follow along.
Add to DiscordMore guides
- How to view avatars and banners โ How to see someone's full size Discord avatar or profile banner using OcelotBOT, plus how to look up information about a user in your server.
- How to use image filters and make memes โ How to apply image filters like deepfry, swirl and bulge to pictures and avatars on Discord, and make memes with image macros and meme templates using OcelotBOT.