Skip to content

Dax0s/milker-discord-bot

Repository files navigation

Discord Bot Milker

Milker is a discord bot made by me on my free time. For now, it's just a simple discord moderation bot, but I'm planning on making it bigger and adding a dashboard.

Table of contents

Requirements

Getting started

Make sure you have all the required tools installed, if so continue on with the instructions bellow.

Setting up the bot

In case you haven't yet setup the bot in Discord developers portal, follow these steps to do so.

1. Creating the application

To create the application click the blue button saying 'New Application'.

New application

Then, specify the name and click 'Create'.

Create application

2. Creating the bot

To create the bot go to the section named 'Bot',

Bot section

click the blue button saying 'Add Bot'

Add bot

and then click 'Yes, do it!'.

Add bot 2

4. Setting up the bot

After you create the bot, you can get the token by clicking 'Copy'. Do not share this token with anyone, since with it, they can do anything they want with the bot. Howewer, if your token gets out, just click the button saying 'Regenerate'.

Token

Next, make sure 'Presence intent' and 'Server members intent' options are selected, since they are needed for the bot to work.

Intents

5. Adding the bot to your server

First, go to the section named 'OAuth2',

Oauth2 section

then, in the scopes selection, select 'bot'

Bot scope

and at bot permissions, select 'Administrator'.

Bot permissions

Later, I'll see which individual permissions the bot needs, but for now, I'll just leave it at 'Administrator', since I'm still adding new features to it.

Finally, click the blue button saying Copy and enter the copied link in a new browser tab.

Invite link

After that, just select the server, to which you want to add the bot, click 'Continue', and then 'Authorize'.

Add to server Add to server 2

Installation

# Clone the repository
git clone https://github.com/Dax0s/milker-discord-bot.git

# Enter the bot directory
cd milker-discord-bot/

Configuration

After cloning the project, add your discord API token and specify the prefix in the config.json file.

Starting the application

# Start the bot by typing in the command bellow
npm run start

Author

Feel free to contact me on discord: 'Dax0s#2248'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors