An open API service indexing awesome lists of open source software.

https://github.com/zaydek/discordgo


https://github.com/zaydek/discordgo

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

---
title: Discord Golang bot
description: A Discord bot written in Golang
tags:
- discordgo
- golang
---

# DiscordGo Example

This example starts a Discord bot using [discordgo](https://github.com/bwmarrin/discordgo) and [Golang](https://golang.org/).

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/TZ2dBZ)

## ✨ Features

- DiscordGo
- Golang

## 💁‍♀️ How to use

- Install dependencies `go mod download`
- Connect to your Railway project `railway link`
- Start the bot `railway run go run main.go`

## 📝 Notes

The server started launches a Discord bot with a couple of basic commands. The code is located at `main.go`.