A Discord bot made in discord.js for Discord server staffs.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
- Node.js atleast 12.x.x version. (10.x.x if you don't care about embeds not working)
- Git
- A Discord Account
- A Discord Application
- Log in with your Discord account
- Go to Applications
- Hit New Application
- Give the bot a name then save the changes.
- Then on the menu, click on Bot then click on Add Bot and confirm.
- You should see a Copy Token, click on it and store it somewhere, you'll need it.
-
Download and extract the files or create a folder on your desktop and inside it do
git clone https://github.com/moruzerinho6/Staff-bot
. -
After downloading the content, enter the created file and open a prompt command window(CMD/Bash) inside the folder.
-
Type
npm i
, if it doesn't work then something might have gonne wrong with your node.js installation. -
Open your editor(Recommended: VSCodium) on that folder and inside the src folder create a
.env
file with no name. -
Inside the .env file there should be 2 keys each with a value:
TOKEN=The bot token here
PREFIX=The bot prefix here
OWNER=You discord account ID here
If you're unfamiliar, prefix means what the message should start with so the bot takes and tries to do something with it.
Staff-bot uses Standard so you should too, click on Stardard to check it's repository and how to install it, I recommend you to do this before trying to work on the code since the eslint'll pretty much not work without you installing it in the global.
If unsure of your coding style you can run standard --fix
outside the src folder so it'll fix everything it can for you.
It is recommended to host custom version on Glitch.com
It supports Discord Bots and is where the official Staff Bot is hosted.
- Node.js - The JavaScript framework used
- Discord.js - Dependency Management
- Jorge Luiz - Initial work - moruzerinho6
This project is licensed under the MIT License - see the LICENSE.md file for details
-
SwitchbladeTeam for helping me with better code/command ideas and being good friends.
-
Teemo.gg for introducing me to the world of programming and giving me infomation about almost everything related to it.