Discord Bot in Go

Kavit (zenwraight)
4 min readJul 15, 2022

For those who want to skip the reading part, can directly move to the coding part.

In this tutorial, we will be creating a simple discord bot that will return pong, when we type ping.

For this, you have to be the admin of a server on discord if you aren’t already or create a new server for this project use.

How to Create a Discord Bot Account

In order to work with the Node.js library and the Discord API, we must first create a Discord Bot account.

Here are the step to creating a Discord Bot account.

1. Make sure you’re logged on to the Discord website.

2. Navigate to the application page.

3. Click on the “New Application” button.

4. Give the application a name and click “Create”.

--

--

Kavit (zenwraight)
Kavit (zenwraight)

Responses (2)