Inspiration

I wanted to make something that could easily add your signature to any photo without having to open up a photo editor such as Photoshop.

What it does

This bot adds your unique discord tag at the top left of any image.

How I built it

So first of all I have the bot take in the command message parameters and store it in a variable named url, then I use asynchronous http requests to download said url into a folder, then the signature is added, and the file is sent back. At the very end all the downloaded images are deleted from the bots directory.

Challenges I ran into

It was very difficult to understand the discord.py and aiohhtp requests documentation because they we're not very clear, and the aiohttp docs didn't mention a thing about media or image downloading so I had to do extensive research and ask around.

Accomplishments that I'm proud of

I now know how to properly use discord.py and aiohttp as well as the Pillow library which lets me do the editing

What I learned

I learned discord.py since it was my first time using it, as well as aiohttp (I am not familiar with any types of requests), I also learned Pillow but that wasn't very complicated.

What's next for Autowatermark Bot

I'l be adding lots of new features such as opacity control, specific placement, repeating signature, colors, font, different file extensions, and many more. I'l also implement moderation and user management into the bot so it could do the same as your other bots.

Built With

Share this project:

Updates