51 lines
1.1 KiB
Markdown
51 lines
1.1 KiB
Markdown
|
# Note
|
||
|
|
||
|
Added from git.2mb.codes/~cmb/barnard/gumble for ease of future work and development.
|
||
|
|
||
|
# gumble
|
||
|
|
||
|
## Sub-projects
|
||
|
|
||
|
- gumble [![GoDoc](https://godoc.org/layeh.com/gumble/gumble?status.svg)](https://godoc.org/layeh.com/gumble/gumble)
|
||
|
- Client library
|
||
|
- gumbleopenal
|
||
|
- [OpenAL](http://kcat.strangesoft.net/openal.html) audio system for gumble
|
||
|
- gumbleffmpeg
|
||
|
- [ffmpeg](https://www.ffmpeg.org/) audio source for gumble
|
||
|
- gumbleutil
|
||
|
- Extras that can make working with gumble easier
|
||
|
|
||
|
## Example
|
||
|
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
"layeh.com/gumble/gumble"
|
||
|
"layeh.com/gumble/gumbleutil"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
gumbleutil.Main(gumbleutil.Listener{
|
||
|
UserChange: func(e *gumble.UserChangeEvent) {
|
||
|
if e.Type.Has(gumble.UserChangeConnected) {
|
||
|
e.User.Send("Welcome to the server, " + e.User.Name + "!")
|
||
|
}
|
||
|
},
|
||
|
})
|
||
|
}
|
||
|
|
||
|
## Related projects
|
||
|
|
||
|
- [barnard](https://layeh.com/barnard)
|
||
|
- terminal-based Mumble client
|
||
|
- [piepan](https://layeh.com/piepan)
|
||
|
- an easy to use framework for writing Mumble bots using Lua
|
||
|
|
||
|
## License
|
||
|
|
||
|
MPL 2.0
|
||
|
|
||
|
## Author
|
||
|
|
||
|
Tim Cooper (<tim.cooper@layeh.com>)
|