🚧 This wiki is a work in progress. Please refer to the official documentation for the most accurate and up-to-date information. 🚧
Installing Go & DisGo

Installing Go & DisGo

I hope you’ve installed The Go programming language before following this tutorial (?)

If you have, you can skip to here

But if you haven’t, I’ve got your back!

Installing Go

Follow the installation steps listed here

Creating your DisGo project

Go to your project directory

$ cd <your-bot-directory>

Initialize Go module

$ go mod init awesome-discord-bot

Install DisGo

$ go get github.com/disgoorg/disgo

You should now have an empty project with a single go.mod file that looks like this

go.mod
module awesome-discord-bot

go 1.25.4
Last updated on