Code Monkey home page Code Monkey logo

opensource-discord-bot-setup's Introduction

Opensource Discord Bot Setup

Table of contents

What does this project do?

This project is a simple setup for Discord Bot creation. This project is a very simple starting point for creating your own Discord Bot. It has a command & event handler built-in, so you don't have to worry about that anymore.

This is a project for the people who are getting stuck or are tired of writing a bot setup over and over again.

Getting started

  1. Install node.js (latest version);
  2. Install a code editor (atom, Visual Studio Code, etc.)
  3. Clone the repository.
  4. Open your project in the code editor and launch a terminal in the root folder of your project.
  5. In your terminal type npm init. This is going to ask you a few questions. Answer those questions.
  6. Run npm i to install all the packages that come with this project.
  7. Create a bot account here.
  8. Back in your code editor create a .env file in your root directory.
  9. Take a look at the .env.example file and paste that in.
  10. Now try to run the project with npm run start.

Contribution

Thank you for the time to contribute to this project!

While contributing, you agree to the Code of Conduct. The Code of Conduct ensures the people that are contributing to this project, that it will be done respectfully.


For more information on how to contribute to the project, please read the contributing guidelines.

opensource-discord-bot-setup's People

Contributors

devcassie avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

opensource-discord-bot-setup's Issues

[Feature Request] Implement a cooldown option

Idea

An implementation of a cooldown option which is a number type.
This cooldown will be set to a collection and check if the user is in the collection. If it is it can't run any commands because of the cooldown.

[Feature Request] Developer only command

#Idea
An implementation of a developer-only option which is a boolean type.
In the message event, there would be a check if the command is run by the developer (using an id). If the commands dev only option is true and the command isn't run by a developer. The command can't be executed.

[Feature Request] Implement Guild-Only commands

Idea

An implementation of a guild-only option which is a boolean type.
In the message event, there would be a check if the command is run in the guild or dm. If the commands guild only options are true and the command is run in DM then the command won't work.

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.