Jasper is a Discord bot designed to provide utility features such as tag management and subscriber count tracking for the No Text To Speech Discord Server. With Jasper, users can create, edit, delete, and use tags within the server, as well as keep track of the server's subscriber count.
- Tag Management: Jasper allows users to create custom tags containing text or embeds, which can be used by other members of the server.
- Subscriber Count Tracking: Jasper tracks the number of subscribers in the server and provides real-time updates.
- Flexible Configuration: Jasper offers various configuration options to tailor its behavior to suit the server's needs.
- Easy Integration: Jasper seamlessly integrates with the No Text To Speech Discord Server and can be easily added to other servers as well.
To use Jasper, invite the bot to your Discord server and grant it the necessary permissions. Once added, users can interact with Jasper using the provided commands to manage tags, track subscriber counts, and more.
To host your own instance of Jasper, follow these steps:
-
Clone this repository to your local machine.
-
Install the required dependencies using
yarn
. -
Configure Jasper by creating a
.env
file in the root directory and adding the following environment variables:BOTID
: Your bot's ID.PUBLICKEY
: Your bot's public key.TOKEN
: Your bot's token.MONGODB
: MongoDB connection string.PREFIX
: Command prefix for your bot.SUPPORT_ROLE
: ID of the role for support members.ADMIN_ROLE
: ID of the role for admin members.STAFF_ROLE
: ID of the role for staff members.GUILD_ONLY_COMMANDS
: Set totrue
if you want some commands to be guild-only.GUILD_ONLY_COMMANDS_GUILD_ID
: ID of the guild for guild-only commands.YOUTUBE_CHANNEL_ID
: YouTube channel ID for subscriber count tracking.YOUTUBE_KEY
: API key for YouTube Data API.YOUTUBE_KEY_TWO
: A second API key Youtube Data API (use a second account).YOUTUBE_KEY_THREE
: A third API key Youtube Data API (use a third account).YOUTUBE_VIDEO_POST_CHANNEL_ID
: Youtube channel IDYOUTUBE_VIDEO_POST_TIMER
: Interval in milliseconds for checking YouTube Data API.YOUTUBE_VIDEO_POST_UPDATE
: Set to1
to enable automatic posting for video discussions.YOUTUBE_VIDEO_DISCUSSIONS_ROLE_ID
: The ping role id for video discussions.SUB_COUNT_CHANNEL
: ID of the channel where subscriber count updates will be posted.SUB_COUNT_TIMER
: Interval in milliseconds for subscriber count updates.SUB_COUNT_UPDATE
: Set to1
to enable automatic subscriber count updates.REDISHOST
: Set your redis host.REDISPORT
: Set your redis port.SUPPORT_THREAD
: ID of the channel for the tags to be used in.
-
Run the bot using
yarn start
.
Contributions to Jasper are welcome! If you encounter any issues or have ideas for new features, feel free to open an issue or submit a pull
request. Make sure to follow the contribution guidelines outlined in CONTRIBUTING.md
.
Jasper is licensed under the MIT License. See LICENSE
for more information.
Made with ❤️ by JayyDoesDev