Choose a random image in a folder and send it.
Images can be NSFW content, be carefull.
You can get you own bot for differents reasons. For exemple, if you want to have your own image folder. However, you can use the already existing services.
The bot can be use for many services.
- Discord
- Messenger
- Web site
- Irc
- ...
If you want that bot on your server, it is available on the Discord Bot List at this page.
Otherwise you can invite him with that link.
You just have to send an e-mail to the RIS at the address [email protected].
There is no need to specify the e-mail subject or content. Just send an e-mail
at this address ans it will answer you with an image.
The web site isn't hosted for now, if you want to host it for me be pleased to contact me.
To get your own bot, follow these steps:
- download or clone this repository.
- copy the
env.json.tpl
file toenv.json
- edit the
env.json
file - replace
<your_images_folder>
by the relative folder path where your images are. Here I use the./images/
folder - put all your images that can be send in the
images/
folder. - follow steps for the service you want (see below)
- copy the
secrets.json.tpl
file tosecrets.json
- edit the
secrets.json
file - replace
<your_discord_token>
by your discord token - save the file and quit
- start the bot with the command
python3 discord_client.py
- edit the
env.json
file - in the
email
section, replace:<your_smtp_server_address>
by the address of your smtp server.<port_of_smtp_server>
by the port of your smtp server.<sender_email_address>
by the e-mail address of your sender client<password_of_email_client>
by the password of the client
- save the file and quit
- start the server with the commant
python3 email_client.py
- edit the
env.json
file - in the
bottle
section, replace<host_the_server_run>
by the hostname your server run - replace
<port_the_server_run>
by rhe port your server use to run - save the file and quit
- start the server with the commant
python3 bottle_client.py