Skip to content

pneisen/discord-bot-slash-commands-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

discord-bot-slash-commands-go

This is a quick and dirty proof of concept to teach myself how to build a discord bot with slash commands in golang using discordgo.

I'm passing in the tokens via environment variables using envconfig. I just have a simple little bash script that exports the variables and then runs the bot:

#!/bin/bash

export BOT_BOT_TOKEN="<Bot Token Here>"
export BOT_GUILD_ID="<Guild ID Here>"

./discord-bot-slash-commands-go

About

Discord bot using slash commands in go using https://github.com/bwmarrin/discordgo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages