Skip to content

OAuth, Webhook, and More...

Latest
Compare
Choose a tag to compare
@allen-liaoo allen-liaoo released this 05 Jul 03:58
· 60 commits to master since this release

What's New

In this release, there are several new features:

  1. OAuth - This is not yet finished or tested (Referring to this issue](#3)). But the authorization and token exchange/refresh is implemented.
  2. Webhook - Supports sending messages with name and/or avatar override. Look into IWebhookManager.
  3. Logger - J-Cord no longer uses Apache's SimpleLog. There is a brand new logger that supports logging to files and two default print streams. The logger is implemented with customizable mode and levels.
  4. MessageProcessor - This is half implemented. It can read the message by char, sequence, mentions, and multiple choices. It will be able to process the original content as a whole soon.
  5. Event Waiting (Synchronous/Asynchronous) - Added the ability to wait for a specific event, then perform an action. See EventManager for more information.
  6. Change in hierarchy - Added Icon to enhance the image reading. Change Embed structures, so a message can contains multiple embeds. Added several events.

Coming soon

We will work on:

  1. OAuth - Get information about the authorized users and perform actions.
  2. Client - Create objects such as Group, Connection, Friend, etc.
  3. Bot - Get the bot application information.
  4. MessageProcessor - Add the ability to ignore markdowns and mentions
  5. Command Line Interface - A built in command line interface, used to get status about the identity, and shutdown, startup identities and connections.
  6. Events - Events for clients, guild members, voice states.
  7. Audio Support - Add user voice states, connections. Add a new web socket client for voice connection. Get received and sent voice data. Opus decoding and encoding. Built-in audio players, track loaders, easy to extend and customize.
  8. Other - Better object states syncing with events, avoid creating duplicate objects. Easier implementation of Requester and HttpPath, allow custom paths. Sync Javadocs more often.