MDxWARRIORxOP / AlienBot-2.0

The offiical discord bot for the alien empire discord sever.

Home Page:https://thealiendoctor.com/r/discord

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AlienBot 2.0

An open source Discord bot thats currently in alpha, originally made for The Alien Empire community Discord but open sourced for anyone that wants it!

pmd

Invite Link

https://thealiendoctor.com/AddAlienBot

Setup

Install Nodejs from https://nodejs.dev/download/

Create a new Bot application:

1. Go to [Discord dev portal](https://discord.com/developers/applications)

2. Click on "New Application"

3. Enter the name of the bot

4. Go to the "Bot" section (will be on the left)

5. Click on "Add bot"

6. Click on "Reset Token"

7. Copy the token and save it for a later step

8. Go to "OAuth2" section (will be on the left)

9. Copy "client id" and save if for a later step

10. Go to "General Information" section (will be on the left)

11. scroll down and copy "Application ID" and save it for a later step

Create a new Firebase Project:

  1. Go to Firebase Developer Console and login if you need to

  2. Click on "Add Project"

  3. Enter a name for the project

  4. Click on continue until you reach "Configure Google Analytics"

  5. Choose "default account for firebase" then click on create project

  6. Click on project settings (the gear icon on the top-left corner)

  7. Click on "Service Accounts"

  8. Click on "generate key pair" and download your whole keypair from the downloaded .json file and save it for a later step

Download and run AlienBot

First of all you need to clone this repo:

$ git clone https://github.com/UFO-Studios/AlienBot-2.0.git

Now cd into the bot's directory:

$ cd alienbot-2.0

Then create a config.json file which will look like this:

{
    "TOKEN": "your-bot-token",
    "CHANNEL_ID": "dev-channel-id",
    "CLIENT_ID": "your-client-id",
    "GUILD_ID": "dev-guild-id",
    "APP_ID": "bot-app-id",
    "ENV": "prod || dev",
    "DEFAULT_VCID": "default-voice-channel-id",
    "FIREBASE-CONFIG": {
        "your": "firebase",
        "service": "account",
        "config": "goes here"
    }
}

Now install all the required dependencies:

$ npm install

Now run this:

$ ./start.sh

Contributing

We'll be needing help, so contributions are always welcome! :D

About

The offiical discord bot for the alien empire discord sever.

https://thealiendoctor.com/r/discord

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 99.9%Language:Shell 0.1%