Releases: R3alCl0ud/DiscLoader
Releases · R3alCl0ud/DiscLoader
Version 0.1.0
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, aMessageCreateEvent
object, and an Array of Strings retrieved from the provided regular expression pattern inCommand.getArgPattern()
. the pattern is settable usingCommand.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. UsegetMessage()
to get the message from the event- the
raw
event has been renamed toRawPacket
and is passed aRawEvent
objectChannel.id
has been made private. useIChannel.getID()
insteadNew 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 aPrivateMessage<Create/Delete/Update>Event
object- All
Message<Create/Delete/Update>Event objects now have a
getMessage()and
getChannel()method, and all
MessageUpdateEventobject now have a
getOldMessage()` method.Ready
is now passed aReadyEvent
object.Removed
Game.type
, useGame.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
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
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 | "//" |