A modular Twitch bot made in Go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
862 B

1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <<<<<<< HEAD
  2. # twitchbot-go
  3. A modular Twitch bot made in Go
  4. =======
  5. # twitchbot
  6. Go Twitch Bot Api wrapper, with an easy to use interface.
  7. # Example
  8. ```go
  9. package main
  10. import (
  11. "github.com/witer33/twitchbot"
  12. )
  13. func main() {
  14. bot := twitchbot.NewBot("oauth:abcdef", "mybot", []string{"channel"})
  15. bot.OnMessage(func(bot *twitchbot.Bot, message *twitchbot.Message) {
  16. if message.Message == "!ping" {
  17. message.Reply("pong")
  18. message.Delete()
  19. }
  20. })
  21. bot.Run()
  22. }
  23. ```
  24. # TODO: Migrate from python bot
  25. * Urban Dictionary definition requests, !urban and mod only, filter words
  26. * Standard Dictionary, !define to pull a max number of defintions (store in DB?)
  27. * Temperature, !temp to convert xF or xC values provided
  28. * Twitter Shoutouts, !tso obtain the given Twitch users probable twitter URL
  29. # TODO: New
  30. * Twitch Channel Point reactions (DB?)
  31. >>>>>>> main