Version: v0.13.0 Latest Latest

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

Go to latest
Published: Jul 18, 2016 License: BSD-3-Clause Imports: 8 Imported by: 0


Airhorn Example ====

This example demonstrates how to utilize DiscordGo to listen to an !airhorn command in a channel and play a sound to that users current voice channel.


This assumes you already have a working Go environment setup and that DiscordGo is correctly installed on your system.

go install
cd $GOPATH/bin
cp ../src/ .


Usage of ./airhorn:
  -t string
        Account Token

The below example shows how to start the bot.

./airhorn -t <bot token>

Creating sounds

Airhorn bot uses DCA files that are pre-computed files that are easy to send to Discord.

If you would like to create your own DCA files, please use either:

./dca-rs -i <input wav file> --raw > <output file>


The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

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