Giter Site home page Giter Site logo

go-compile / gorevolt Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 63 KB

GoRevolt is a revolt.chat API library allowing you to write fast and large scale bots in Go.

License: GNU General Public License v3.0

Go 100.00%
api revolt-chat bots client client-library fast messenging websockets

gorevolt's Introduction

GoRevolt (Revolt.chat API Library)

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.

Revolt.chat image

Under Active Development

Please come back after a stable release.

Road Map

  1. Implement all end points for Delta.
  2. Implement all event handlers for Bonfire.
  3. Fast customisable caching layer.
  4. Fast data rich API for building bots.
  5. Reply filter (await user response in channel, no prefix required).

Robust & Stable

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.

Events

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

gorevolt's People

Contributors

go-compile avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.