Git Product home page Git Product logo

hellodev-discord-bot's Introduction

Type of Web Discord Bot

All Contributors

Getting Started

Prepare project

Run npm install to install all dependencies

[Based on windows system]

If an error with Python occurs open the system console with admin privileges and type:

npm --add-python-to-path='true' --debug install --global windows-build-tools

If that was the case run again npm install to install dependencies properly.

Setup environmental variables

Create .env.dev file based on .env.dev-sample (just copy and rename it). Fill the API keys with 0 if you don't have them.

Connect to development bot

Create a new discord server where you will be testing your bot.

Follow this tutorial to create a new bot. Then add it to your server.

Use the bot token in .env.dev file.

Run the server

Use npm run dev to start the server.

You should get this in your console, which suggests that everything went ok.

Server running!
Logged in as [Bot Name]!

You will probably get some errors like "Failed to connect to database" as well. Don't worry about them if you don't need the database.

When you log into the discord server you should see that your Bot is active. You can use one of the existing commands like !co to try it out :)

Contributors ✨

Thanks goes to these wonderful people:


Deeadline

Andrew Welc

jkonieczny

Porithe

This project follows the all-contributors specification. Contributions of any kind welcome!

hellodev-discord-bot's People

Contributors

adamsiekierski avatar allcontributors[bot] avatar deeadline avatar drillprop avatar jundymek avatar k-malkowski avatar kbkk avatar larto42 avatar nanodw avatar olafsulich avatar piotrstelmach avatar przytrzask avatar razi91 avatar secrus avatar survikrowa avatar typeofweb avatar

Stargazers

 avatar

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.