Skip to content

zerinho6Bot/Staff-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Staff-Bot

A Discord bot made in discord.js for Discord server staffs.

Getting Started

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.

Prerequisites

What things you need to install the software and how to install them

  1. Node.js atleast 12.x.x version. (10.x.x if you don't care about embeds not working)
  2. Git
  3. A Discord Account
  4. A Discord Application
  5. Log in with your Discord account
  6. Go to Applications
  7. Hit New Application
  8. Give the bot a name then save the changes.
  9. Then on the menu, click on Bot then click on Add Bot and confirm.
  10. You should see a Copy Token, click on it and store it somewhere, you'll need it.

Installing

  1. Download and extract the files or create a folder on your desktop and inside it do git clone https://github.com/moruzerinho6/Staff-bot.

  2. After downloading the content, enter the created file and open a prompt command window(CMD/Bash) inside the folder.

  3. Type npm i, if it doesn't work then something might have gonne wrong with your node.js installation.

  4. Open your editor(Recommended: VSCodium) on that folder and inside the src folder create a .env file with no name.

  5. 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.

Coding style

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.

Deployment

It is recommended to host custom version on Glitch.com

It supports Discord Bots and is where the official Staff Bot is hosted.

Built With

JavaScript Style Guide

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • 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.

About

A discord.js bot made for discord server staffs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published