My Bots

Explore My Bot Collection

Welcome to my collection of Discord bots, each created with a different purpose. Not all of them may be available at the moment.

Language Bot available:

bot 0
bot 1
bot 2

Changing source code to use the Language Bots:

Necessary steps

To make the bot useful for any desired language is important to change the following parts of the code

  1. Cloning the repository
  2. Create Discord Bot
  3. Create an .env file to store the enviroment variables.
  4. Change the Arrays of Objects inside each command.

Cloning Repository

  1. Go to the Main repository.

  2. Follow the steps on the Getting Started section.

Creating Discord Bot

  1. It's important to first register your bot on Discord Developer website.

  2. With your discord account logged, click on the top right button
    New Application.

  3. After created, enter on OAuth2 tab and copy the CLIENT ID and the CLIENT SECRET.

  4. On the Bot tab it's better to allow the permission Administrator.

  5. Go to Installation tab, select the Guild Install, get the Install Link (Discord Provided Link)

    and add your bot to the desired server.

  6. Finally, copy the SERVER ID in the settings of your discord server, inside the Widget tab

Creating .env file

  1. First create a .env file in the root directory of the cloned repository.

  2. Add the following script:
    Important note: you should use what you copied instead of the {...}.

    TOKEN={CLIENT SECRET}
    CLIENT_ID={CLIENT ID}
    GUILD_ID={SERVER ID}

Changing the Array of Objects

  1. Example:

    Artists

    // German
     
    const artists = [
    {
    id: 1,
    name: '**Pop**',
    value: '*Nena Hebert, Herbert Grönemeyer*',
    },
    {
    id: 2,
    name: '**Rock**',
    value: '*Rammstein, Herbert Grönemeyer*',
    },
     
    ...
     
    ]

    Changes to:

    // Japanese
     
    const artists = [
    {
    id: 1,
    name: '**J-Pop**',
    value: '*きゃりーぱみゅぱみゅ, 宇多田ヒカル*',
    },
    {
    id: 2,
    name: '**Rock**',
    value: '*RADWIMPS, ONE OK ROCK, サカナクション*',
    },
     
    ...
     
    ]