Skip to content

byteslash-hub/bytoid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Bytoid

Bytoid is an official bot of the ByteSlash discord community!

🔧 Made using

Bytoid is made using the following tech-stack

⚙ Developer guide

To test the bot locally follow the following steps:

  1. Fork this repository

  2. Clone this repository into your local machine by using the following command

    git clone https:/<your-username>/bytoid
  3. Installing the dependencies

    npm install
  4. Creating a bot account on discord dev portal

    • Login via using your discord account

    • Click on the New application button

    • Give name to your application

    • Navigate to the Bot section from the left sidebar

    • Make your application into a discord bot by clicking the Add Bot button

    • Copy the token of your discord bot [Don't share the token with anyone]

  5. Creating a MongoDB database

    • Head over to MongoDB and create/sign in into your account

    • Create a new project and give your project name

    • After the project is been completed, click on Build a database. Select the shared plan and move forward

    • Copy the connection url
  6. Rename .env.example to .env and place the environment variables in their place as mentioned in the file

  7. Run npm run dev command to bring the bot online