This is the code ran for the iFunny bots Booru and DanBooru. I've made it open source so that anyone else interested in iFunny development might learn from it
Populate a file config.json
in the bot's root with the following format:
{
"email": "ifunny_account_email",
"password": "ifunny_password",
}
If you want to use the commands dan
and tags
, add the following keys:
{
"dan_key": "danbooru_api_key",
"dan_login": "danbooru_username"
}
They are needed to talk to the danbooru api
If you'd like to, feel free to contribute to this repo, or create your own fork.
Important npm dependencies:
- ifunny
- puppeteer
- axios