discordbot

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2017 License: GPL-3.0 Imports: 21 Imported by: 0

README

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.

Documentation

Overview

discordBot project main.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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