discord-go

command module
v0.0.0-...-235a251 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL