Як створити бота в Discovere Nodejs?

Існують також потужні API для створення дискусійних шпильок для тих, хто preferується для отримання матерів в свої власні руки. For instance, Discord. js allows us to create a simple Discord bot using Javascript. У цій літературі, ми будемо говорити, як створити обговорення покупок і йти на сервер.

How to make your own Discord bot:

  1. Turn on “Developer mode” in your Discord account.
  2. Click on “Discord API”.
  3. У Розробці порталу, натисніть на “Applications”. …
  4. Назви bot and the click “Create”.
  5. Перейти до “Bot” menu and generate a token using “Add Bot”.
  6. Program ваш bot using the bot token і зберегти файл.

Creating a Discord bot is relatively simple task. You do need a malý bit programming knowledge to set things up, but complexity of code depends on kind of bot you're trying to make.