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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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