Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.56 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.56 KB

discordBot

It's yet not sure in which direction this project will go. Appreciate any constructive input.

Dependencies

Go

System

dca (and its dependencies ffmpeg/opus) are used to dynamically encode and add new sounds to the "soundboard" function.

Installing

This assumes you already have a working Go environment, if not please see here first.

go get will always pull the latest released version from the master branch.

# Installing the bot
go get github.com/matamegger/discordBot
go install github.com/matamegger/discordBot

discordgo and go-logging should be installed automatically. However, you have to install dca and its dependencies manually.

Starting/Configurating

Assuming you have added your go/bin folder to your path and used go install for discordBot.

discordBot -t DiscordBot.Token -o discordIdOfTheOwner

To get the DiscordBot Token go to this page.
To get your ID type \@yourname in a server channel, but use only the number (remove the <@>).*1.

Footnotes

  1. You could also start the bot, without an owner ID, and ask it with !get id for your ID.