Skip to content

Releases: R3alCl0ud/DiscLoader

Version 0.1.0

24 Mar 17:24
Compare
Choose a tag to compare

Soon much has been done. many things have been implemented.

there is also some breaking changes.

Patch Notes

Additions

  • PrivateChannel objects instantiate correctly now.
  • UserProfile objects.
  • Invite objects.
  • Resuming gateway connections.
  • Connecting with a user account.
  • New client options system, see DLOptions
  • User.asMention()
  • User.getProfile()
  • GuildMember.getHeighestRole()
  • DiscLoader.removeEventListener(IEventListener listener)

Changes

  • Command.execute() now takes two parameters, a MessageCreateEvent object, and an Array of Strings retrieved from the provided regular expression pattern in Command.getArgPattern(). the pattern is settable using Command.setArgsRegex(String pattern). Command.execute(MessageCreateEvent) has been left in for backwards compatibility, or if you don't need the args parameter.
  • DiscLoader.addEventHandler(IEventListener handler) is now a non-static method.

BREAKING CHANGES

  • the message field in all message events has been made private. Use getMessage() to get the message from the event
  • the raw event has been renamed to RawPacket and is passed a RawEvent object
  • Channel.id has been made private. use IChannel.getID() instead

New Events

  • TypingStart
  • GuildMessageCreate
  • GuildMessageDelete
  • GuildMessageUpdate
  • GuildEmojiCreate
  • GuildEmojiDelete
  • GuildEmojiUpdate
  • GuildChannelCreate
  • GuildChannelDelete
  • GuildChannelUpdate
  • PrivateChannelCreate
  • PrivateChannelDelete
  • PrivateChannelUpdate
  • PrivateMessageCreate
  • PrivateMessageDelete
  • PrivateMessageUpdate
Events for user accounts
  • GuildSync
  • GroupChannelCreate
  • GroupChannelDelete
  • GroupChannelUpdate
  • GroupMessageCreate
  • GroupMessageDelete
  • GroupMessageUpdate

Updated events

  • PrivateMessage<Create/Delete/Update> is now passed a PrivateMessage<Create/Delete/Update>Event object
  • All Message<Create/Delete/Update>Event objects now have a getMessage()andgetChannel()method, and allMessageUpdateEventobject now have agetOldMessage()` method.
  • Ready is now passed a ReadyEvent object.

Removed

Game.type, use Game.isStream() to check if the user is playing a game or live streaming.

TODO

  • Add a logout method to DiscLoader.
  • Reconnect to voice when the client has reconnected to the gateway.
  • Refactor VoiceConnection

Version 0.0.3

04 Mar 04:56
Compare
Choose a tag to compare
Version 0.0.3 Pre-release
Pre-release

Wow a lot has been done since the last release.

too much has been changed to write a detailed change log, see commit history if you want to know what's been changed

Additions

  • Sharding. YAY!!
  • Voice Support. YAY!!!!!!!!!
  • Emojis

Version 0.0.1

16 Feb 18:55
Compare
Choose a tag to compare
Version 0.0.1 Pre-release
Pre-release

Version 0.0.1

Over the past month-two months I've made a huge amount of progress on DiscLoader, and I finally feel that the first build of the client is ready. So, here it is, Version 0.0.1

Patch Notes

Additions

  • Added modding
  • Embed parsing (Doesn't show up in the Message Object yet)
  • More Events added
  • Renaming. You can now change a guild's name, your username, and a GuildMember's nickname.
  • Retexturing. You can now change a guild's icon, and your avatar
  • Added a basic commands system
  • DiscRegistry (This is going to be removed in the next release)
  • Command Line Args

Removed

  • GuildChannel Object
  • DiscHandler Object

Changes

  • Only executes EventHandlers in the main class of a mod
  • Message.timestamp is now a Date Object.
  • Message.editedTimestamp is also a Date Object now.

Read commit history for more details

Command Line Arguments

arg description default
nogui if DiscLoader is executed with nogui as an argument the GUI window doesn't show loads GUI
-t The api token to use to authenticate ""
-p The prefix to use for commands "//"