Coder Social home page Coder Social logo

bburd / bibleref Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 14.72 MB

This Discord bot includes the full King James Version (KJV) Bible and Strong's Concordance. It offers a daily verse feature and a trivia game with over 200 questions.

License: MIT License

JavaScript 100.00%
bible-study discord-bot king-james-version trivia-bot bible bible-verse kjv strong-concordance nodejs bible-trivia

bibleref's Introduction

BibleRef

This Discord bot was developed as a personal project to replace multiple bots in my server with just one. If you see this I have made this public and anyone is free to do what they wish with this project.

BibleRef is a comprehensive tool for Bible study and engagement, featuring the full King James Version (KJV) Bible and the Strong's Concordance. It includes a variety of features to enrich your spiritual journey and make Bible study more interactive and enjoyable. The bot is built using Node.js, making it straightforward to self-host and customize according to your needs.

Note

This was created with God's will and ChatGPT, all glory to God it is working. ๐Ÿ™

Tip

More trivia questions are always needed and I am open to other suggestions, however my coding skills are rather limited.

Important

Please accept my formal apology to the coding community for creating what I can only assume is a disgrace.

Warning

This bot will require you setup a discord bot using the Discord developer portal. It is free and easy, there are many guides available.

Acknowledgments

Special thanks to the following repos:

1John419 for the KJV and Concordance data.
Samleo8 for some of the trivia questions.

Key Features:

1. Full KJV Bible:

  • Access the complete text of the King James Version Bible directly within Discord. Easily search and reference scriptures for study, discussion, and inspiration.

2. Strong's Concordance:

  • Utilize the Strong's Concordance for in-depth Bible study. Look up the original Greek and Hebrew words, understand their meanings, and see where they appear in the Bible.

3. Daily Verse:

  • Receive a daily Bible verse automatically delivered to your Discord server. Start your day with a dose of spiritual inspiration and reflection.

4. Bible Trivia Game:

  • Challenge yourself and others with a trivia game that includes over 200 Bible-related questions. Test your knowledge, learn new facts, and have fun with friends.

5. Easy to Self-Host:

  • Built with Node.js, this bot is easy to set up and host on your own server. The use of a JSON configuration file for storing sensitive information like tokens and IDs makes the bot secure and manageable.

6. Interactive Commands:

  • The bot comes with a variety of interactive commands, making it user-friendly and engaging. Users can easily fetch Bible verses, participate in trivia, and more.

Getting Started:

To get started with this bot, you will need to have a hosting solution for Node.js and the host will need to allow more than one sqlite database. Check the setup guide for details. Clone the repository, configure the necessary settings in the config.json file, and run the bot on your server. The bot is designed to be easy to deploy and customize, making it a great addition to any Discord community focused on Bible study and fellowship.

Commands:

/brsearch Luke 1:1-3 or Luke - Retrieve all information matching search term.
/brpoints - View the top 10 users points standings.
/brmypoints - View your current points standings.
/brdaily - View the daily verse.
/brtrivia - Start a Bible trivia game, optionally specifying a category.

Configuration:

The bot uses a JSON configuration file (config.json) to store sensitive information securely. Do not send your config.json to anyone!! Here's a sample configuration file:

DO NOT COPY PASTE THE EXAMPLE BELOW. There is a config.json file that can be edited included.

{
  "token": A09Kv834Dv908G32E4fnaEsv8T23TfvH8hf34DF8h, // Your bot token should not have the quotation marks ("")
  "clientId": 123498741253, // Your client ID should not have the quotation marks ("")
  "guildId": 123489075413 // Your guild ID should not have the quotation marks ("")
}

bibleref's People

Contributors

bburd avatar

Watchers

 avatar

bibleref's Issues

Pagination on all embeds

Describe the bug
Pagination buttons are placed on embeds with only one page.

To Reproduce
Steps to reproduce the behavior:
Use /brsearch for Luke1:1

Expected behavior
An embedded message with one page and no pagination buttons.

Screenshots
image

Entire verses not included by default.

Describe the bug
If a query is performed and the verse has a comma or semicolon separating it from the next verse the whole thing isn't shown in the results. Verses should end on ! or ? or .

To Reproduce
Steps to reproduce the behavior:
Use /brsearch Matthew 19:18
Also /brverse is affected

Expected behavior
I expected it to show Matthew 19:18-19 because the verse wasn't complete until 19.

Screenshots
n/a

Desktop (please complete the following information):

  • all

Add /brhelp command to list available commands

Is your feature request related to a problem? Please describe.
No command to list all available commands.

Describe the solution you'd like
/brhelp to list available commands and categories for trivia questions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.