Skip to content

Commit

Permalink
Add documentation for the NOTICE message type
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada committed Oct 21, 2018
1 parent af0104d commit 802988e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,19 @@ client.OnNewMessage(func(channel string, user twitch.User, message twitch.Messag
client.OnNewRoomstateMessage(func(channel string, user twitch.User, message twitch.Message) {})
client.OnNewClearchatMessage(func(channel string, user twitch.User, message twitch.Message) {})
client.OnNewUsernoticeMessage(func(channel string, user twitch.User, message twitch.Message) {})
client.OnNewNoticeMessage(func(channel string, user twitch.User, message twitch.Message) {})
client.OnNewUserstateMessage(func(channel string, user twitch.User, message twitch.Message) {})
client.OnUserJoin(func(channel, user string) {})
client.OnUserPart(func(channel, user string) {})
```
### Message Types

If you ever need more than basic PRIVMSG, this might be for you.
These are the 5 major message types currently supported:
These are the 6 major message types currently supported:

PRIVMSG
WHISPER
ROOMSTATE
CLEARCHAT
USERNOTICE
NOTICE

0 comments on commit 802988e

Please sign in to comment.