DevRant Bot
An NPM package to create DevRant bots,
Super easy to implement,
Never care about implementation again, just focus on functionality.
How To Use
This package can be used to create bots which will act when someone mentions it.
It can then Reply to that mention with some text or image.
var Bot = ; {var bot = ;await bot;var mentions = await bot;console;};
Which produces,
"rid": 2821893 //rant ID "cid": 3308364 //comment ID "is_bot": false //User who has called is a bot or not "text": "some message" //Message "user": "theabbie" //Username of user who called "time": 1603281044 //Timestamp of comment "rto": "id": 3307103 "text": "text" "time": 1603264598 ... ...
To reply,
{var bot = ;await bot;var mentions = await bot;for msg of mentions await bot;};
This makes bot development really easy and you can safely focus only on the functionality rather than the implementation of the DevRant bot.
Contributing
Thank you for your interest in contributing, If you feel like there's something missing or any new feature can be added, just create a PR and I will see the rest.
Help
You can contact me on social media, Everything about me can be found here
Installation
Requirements
- Node.Js installed
Dev Dependencies
- Axios
- RantScript
Credits
- RantScript For Creating an excellent Wrapper For the DevRant API.
Contact
Contact me anywhere, just visit my portfolio
License
This project is licensed under MIT License, See LICENSE for more information