Skip to content

azekeil/grec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grec

A self-hosted discord bot written in go to efficiently record voice channels directly to your computer.

Mostly cribbed from examples but some interesting things including parsing help from method comments at runtime using embed.

Setup

  1. go install github.com/azekeil/grec/cmd/grec (needs at least go 1.16 for embed)

  2. Get a discord bot token and add the bot to your discord server(s). For bot permissions, you want:

    Text Permissions

    • Send Messages
    • Read Message History

    Voice Permissions

    • Connect
  3. Put your bot token in a file named config.yaml like so:

    token: abc123

    grec searches for config.yaml in the current working directory, then ~/.config/grec/

  4. Run grec. It should show:

    2021/11/21 17:47:16 Bot is now running.  Press CTRL-C to exit.
    

    And it should join your server you invited it to (you did do that as part of step 2, right?)

Using

In a text channel grec has permissions to read and write messages, enter !grec. You should see: Help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages