Skip to content

Simple python script to supply you lewd anime pictures directly to your discord every given time

Notifications You must be signed in to change notification settings

ChillBus/lewdWaifu.im

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lewdWaifu.im

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.

Get Started

Use lewd.py and ignore massSupply.py

Create Discord Bot Application

Go do discord developer portal and create a discord bot application. Refer to this blog (Only follow the part till application creation)

Replace Token in the code

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)

Add member id

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]

Change the time duration

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)

Remove Spoiler tag

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']}")

Preview

(No I wont reveal the image, go away)


Join Discord Server for supplies or bot demo.

About

Simple python script to supply you lewd anime pictures directly to your discord every given time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Procfile 0.4%