Simple python script to supply you lewd anime pictures directly to your discord every given time ><
It uses Waifu.im and Waifu.pics API to fetch lewd images.
Use lewd.py
and ignore massSupply.py
Go do discord developer portal and create a discord bot application. Refer to this blog (Only follow the part till application creation)
Uncomment the following code in the script and create a file cred.txt
. Add your bot token in that txt file.
# with open('cred.txt', 'r') as f:
# global token
# token = f.read()
Remove or Comment token = os.environ['TOKEN']
. Now your bot is ready to function on discord.
(You can even use envs for your tokens if you dont want to hardcode/use txt file)
Replace the ids in member
list with your id. (You can add multiple discord ids and the bot will supply lewd to every member in member
list)
members = [your_id, your_friends_id, your_familys_id_lol]
By default, the script will supply lewds every 12 hours i.e. 43200 seconds. You can set the timing according to your liking. Just replace the number and add your time in seconds
.
await asyncio.sleep(time_in_sec)
Just remove ||
and you should be good. I dont recommend tho
await mem.send(f"|| {res['images'][0]['url']} ||")
to
await mem.send(f"{res['images'][0]['url']}")
Join Discord Server for supplies or bot demo.