Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.89 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.89 KB

evrifaessa/discord-go

GitHub go.mod Go version GitHub Sponsors Lines of code

A very basic Discord bot written entirely in Go using DiscordGo. I started this project because I have little to no knowledge of Go and think the best way to learn something is to develop a project. PRs appreciated, I will gradually improve this project in my free time.

I also need a better name for the project.

Invite the bot here.

How to run locally

You need to have Go installed. Here is a tutorial from Go documentation.

Create an application if you already haven't

Create an application over the Discord Developer Portal and create a bot account associated with that application. There are plenty of guides for this on the internet.

Run the bot using your own token

Run go run main.go -t TOKEN in your terminal. Of course, you need to replace "TOKEN" with the token you got from the Discord Developer Portal. To make things much easier, you can also set your token as an environment variable named TOKEN and run the command without the -t argument.

Questions?

Licensing

evrifaessa/discord-go is open-source software and is released under the Apache v2.0 license. See LICENSE for the full license terms.