Installing requirements
Installing Go:
You can follow the official instructions to download go on your system here.
(Optional) To verify the installation, run a go command:
> go version
go version go1.20.2 linux/amd64
Installing discordgo:
To install the discordgo library, open the terminal application for your system:
Windows:
Command Prompt
Mac:
Terminal
Linux:
Terminal
And run the installation command:
> go get github.com/bwmarrin/discordgo
And that should be it! you installed everything successfully, congrats!
Last updated
Was this helpful?