A Discord bot for referencing Buddhist verses and texts.
If you have any issues with the bot, or have a suggestion. Feel free to contact me on twitter.com/anshulxyz
Features:-
- Fetch single verse
- Fetch a random verse
- Fetch a range of verses
To use the bot, you have to @\mention the bot.
To get the 14th verse of the Dhammapada
@BodhiBot dhp 14
To get the verses from 103th till 105th of the Dhammapada
@BodhiBot dhp 103 105
To get a random verse from the Dhammapada
@BodhiBot dhp
Current translation in use is by Max Müller.
Invite the bot to your server using this link
The code is written in Rust (v1.60.0).
Libraries:-
I am making the source code of this bot public to have it serve as an example of the usage of the above libraries. This bot was formerly in Python. A goal to rewrite it was to learn Rust.
If you're interested in building the source code, contact me on Twitter. You'll need an SQLite database that follows the schema defined in dhammapada.rs.
- More translations for Dhammapada
- Slash Commands
- More scriptures