GithubHelp home page GithubHelp logo

noobssam / discord-moderation-bot Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 1.0 18 KB

Easy Moderation Bot!

Home Page: https://discord.gg/11pm

JavaScript 100.00%
discord discord-bot discord-js discordbot discord-api javascript discordmod discordmoderationbot discord-music-bot bot

discord-moderation-bot's Introduction

A small Discord moderation bot, without a command handler

Getting started (Add Star โญ <3)

GIF

๐Ÿ“Œ Requirements

  • Node.js
  • A code editor (visual studio code, atom, notepad++ etc)
  • Git

๐Ÿ— Step zero, making a Discord bot account

Go to https://discord.com/developers and make an application. After creating your application, you should have the option to create a bot user.

๐Ÿ— Step one, making the folder

Make a folder for which your bot's coding will be in

๐Ÿ— Step two, opening powershell

Do shift + right click and select open powershell (or cmd depending on your PC) Step two

๐Ÿ— Step three, initiating, type npm init

๐Ÿ— Step four, installing Discord.js

Now, you should type npm install discord.js, we are installing the discord.js module. Note: This will make a file called package-lock.json and a directory called node_modules, please don't delete that.

๐Ÿ— Step five (I), getting your bot's token

Get your bots token. Reminder, bot tokens are key information that gives complete access to your bot.

๐Ÿ— Step five (II), config.json

Place your bot's token between the quotation marks, you can also edit the prefix if you'd like. Step six

๐Ÿ— Step six, running your bot

Run your bot by typing node bot.js into your powershell/cmd

๐Ÿ— Step seven, adding your bot to your server

Use this link and replace client_id_here with your actual client ID https://discordapp.com/api/oauth2/authorize?client_id=client_id_here&permissions=0&scope=bot

๐ŸŽˆ And your bot is running!

Enjoy the bot, updates are frequent so always return to replace your bot.js with the newest one.


๐Ÿ†˜ Any errors?

If you'd like to come to me personally, join the โœจ support server

discord-moderation-bot's People

Contributors

noobssam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

drwells0001

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.