Skip to content

Memanoth/CO1-SuperBot

This branch is 196 commits ahead of, 166 commits behind discord/airhornbot:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eaa8c3d · Jun 16, 2016
Mar 14, 2016
May 13, 2016
Jun 16, 2016
Mar 18, 2016
Apr 8, 2016
Mar 11, 2016
Mar 24, 2016
Mar 19, 2016
Mar 24, 2016
Mar 19, 2016
Mar 23, 2016
Apr 13, 2016

Repository files navigation

Airhorn Bot

Airhorn is an example implementation of the Discord API. Airhorn bot utilizes the discordgo library, a free and open source library. Airhorn Bot requires Go 1.4 or higher.

Usage

Airhorn Bot has two components, a bot client that handles the playing of loyal airhorns, and a web server that implements OAuth2 and stats. Once added to your server, airhorn bot can be summoned by running !airhorn.

Running the Bot

First install the bot:

go get github.com/hammerandchisel/airhornbot/cmd/bot
go install github.com/hammerandchisel/airhornbot/cmd/bot

Then run the following command:

bot -r "localhost:6379" -t "MY_BOT_ACCOUNT_TOKEN" -o OWNER_ID

Running the Web Server

First install the webserver: go install github.com/hammerandchisel/airhornbot, then run make static, finally run:

./airhornweb -r "localhost:6379" -i MY_APPLICATION_ID -s 'MY_APPLICATION_SECRET"

Note, the webserver requires a redis instance to track statistics

Thanks

Thanks to the awesome (one might describe them as smart... loyal... appreciative...) iopred and bwmarrin for helping code review the initial release.

About

The only bot for Discord you'll ever need.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.6%
  • Go 24.2%
  • CSS 10.5%
  • HTML 2.3%
  • Makefile 0.4%