GoRevolt is a revolt.chat API library allowing you to write fast and large scale bots in Go. Optimized for high performance and stability. Discord.js devs will right at home with this Revolt.chat library.
Please come back after a stable release.
- Implement all end points for Delta.
- Implement all event handlers for Bonfire.
- Fast customisable caching layer.
- Fast data rich API for building bots.
- Reply filter (await user response in channel, no prefix required).
Written with concurrency in mind. Built in unit tests ensure the library is operating as expected.
API tests require these environment variables to be set.
gorevolt_test_token=
gorevolt_test_channel=
# User should be the ID of the bot user and the username should be "GoRevolt"
gorevolt_test_user=
Non interactive tests environment variables
gorevolt_test_interactive=true
Interactive websockets tests
go test -v ./...
Run the unit tests your self by using the command above.
List of currently implemented events. More to come soon.
- OnReady
- OnMessage
- OnMessageUpdate
- OnMessageAppend
- OnMessageDelete
- OnChannelCreate
- OnChannelUpdate
- OnChannelDelete
- OnChannelGroupJoin
- OnChannelGroupLeave
- OnChannelStartTyping
- OnChannelStopTyping
- OnChannelAck
- OnServerCreate
- OnServerUpdate
- OnServerDelete
- OnServerMemberUpdate
- OnServerMemberJoin
- OnServerMemberLeave
- OnServerRoleUpdate
- OnServerRoleDelete
- OnUserUpdate
- OnUserRelationship
- OnUserRelationship
- OnEmojiCreate
- OnEmojiDelete