| title | Discord Golang bot | ||
|---|---|---|---|
| description | A Discord bot written in Golang | ||
| tags |
|
This example starts a Discord bot using discordgo and Golang.
- DiscordGo
- Golang
- Install dependencies
go mod download - Connect to your Railway project
railway link - Start the bot
railway run go run main.go
The server started launches a Discord bot with a couple of basic commands. The code is located at main.go.