Skip to content
/ Royal-Bot Public template

Hi! I am Royal Bot, a Discord Bot for Server is a Moderation Bot and more!.

License

Notifications You must be signed in to change notification settings

Mocy-Studio/Royal-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔥 Unique Features

  • Developed using Typescript and Discord.js v14
  • Command Handler
  • Events Handler
  • Config File
  • Slash Commands

🔧 Requirements

Before starting with the installation, you need to have the following:

🚀 Installation from source

  1. Clone the Royal Bot repository:
git clone  https://github.com/Mocy-Studio/Royal-Bot.git
  1. change the directory to Royal Bot
cd Royal-Bot
  1. Install the required packages:
npm install
  1. Set up your environment variables:

Create a .env file in the root directory of your project with the following variables:

TOKEN="." # Your bot token
PREFIX="!" # Your prefix
OWNER_IDS="859640640640640640, 859640640640640640" # Your ID
CLIENT_ID="960072976412340254" # Your bot client ID
GUILD_ID="859640640640640640" # Your server ID (if you want to use it for a single server)
PRODUCTION="true" # "true" for production
DATABASE_URL="mongodb+srv://David:xxxxxxxxxxxx" # Your MongoDB URL
  1. Generate the Prisma client:

If you using replit than read this:

go to prisma/schema.prisma and add engine type like this

generator client {
  provider = "prisma-client-js"
  engineType = "binary"
}

and then run this command

npx prisma generate
  1. Run the bot:
npm run start or npm start
  1. Invite the bot to your server:

Generate an invite link for your bot and invite it to your server using the Discord Developer Portal.

📜 Contributing

Thank you for your interest in contributing to Royal Bot! Here are some guidelines to follow when contributing:

  1. Fork the repository and create a new branch for your feature or bug fix.
  2. Write clean and concise code that follows the established coding style.
  3. Create detailed and thorough documentation for any new features or changes.
  4. Write and run tests for your code.
  5. Submit a pull request with your changes.

Your contribution will be reviewed by the project maintainers, and any necessary feedback or changes will be discussed with you. We appreciate your help in making Royal Bot better!

🔐 License

Distributed under the Apache-2.0 license License. See LICENSE for more information.

About

Hi! I am Royal Bot, a Discord Bot for Server is a Moderation Bot and more!.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published