michaelpa-dev / Daily-Bible-Verse-Bot

The Daily Bible Verse Bot is a Discord bot that provides users with daily Bible verses, random verses, and more. It allows users to subscribe and unsubscribe from receiving daily verses and provides various statistics about its usage and activity.
https://discord.com/invite/VquUZs2msF
MIT License
1 stars 1 forks source link

Introducing the `/version` Command #11

Open michaelpa-dev opened 1 year ago

michaelpa-dev commented 1 year ago

Is your feature request related to a problem? Please describe.

As a user of the Daily Bible Verse Bot, I find it valuable to know the current version of the bot that I'm interacting with. However, there isn't currently a way to easily retrieve this information directly within Discord.

Describe the Solution You'd Like

I'd like to propose the addition of a new /version command to the Daily Bible Verse Bot. When users invoke this command, the bot will respond with its current version number. This will provide transparency and allow users to keep track of the bot's updates. This will also allow us to easily determine when troubleshooting what version of the bot a specific user is utilizing when troubleshooting a bug report. Part of this would likely involve removing the current version numbering out of the config.json and likely putting it somewhere else that will not be manipulated by end users.

Describe Alternatives You've Considered

An alternative would be to include the bot's version information in its status message or profile. However, having a dedicated command to retrieve the version is a more user-friendly approach, as users won't need to search for the information.

Additional Context

By introducing the /version command, we'll provide an easy way for users to access information about the bot's version directly within Discord. This can also be a helpful feature for troubleshooting purposes, as users and support staff can quickly identify whether the bot is running the latest version.

Implementation Steps:

  1. Add a new command handler for the /version command.
  2. Implement the command to respond with the bot's current version number.
  3. Update the bot's documentation to include information about the new /version command.

This addition aligns with our goal of enhancing user experience and transparency within the Daily Bible Verse Bot.

I have read the Code of Conduct and agree to abide by it. [x] Yes

MatheusVSN commented 1 year ago

Hello michaelpa-dev,

I hope you're doing well. I want to share an update regarding my first pull request, wich is #12 . I believe the solution i've implemented could supply your specific demand. The newly added command makes a request to the github API directed to this repository and gets the latest release version. I'm very excited about contributing to this project and I'm looking foward on receiving your feedback🙂. Thank you for your time

Best regards, Matheus