This is a high-level changelog for each released versions of the plugin. For a more detailed list of past and incoming changes, see the commit history.
- Fix JSON parsing error on empty data object in
DiscordBot._jsonstring_to_dict()
- Add not null check in DiscordBot._send_get()
- Fixed Embed.set_color() for an array of RGB values
- Moved documentation to Discord.gd
- Added
DiscordBot.guild_update
signal - Added
Helpers.iso2unix()
method - Fixed
DiscordBot.get_guild_icon()
used to crash the bot if guild had no icon.
- Fixed some bugs in
DiscordInteraction
regarding updating the message of interaction. - Fixed typo in SelectMenu
Implemented application commands (CHAT_INPUT / USER / MESSAGE commands) and also autocomplete response for application commands
- Added
is_command()
,is_autocomplete()
andrespond_autocomplete()
methods toDiscordInteraction
- Added
register_command()
,register_commands()
,delete_command()
,delete_commands()
,get_command()
andget_commands()
methods toDiscordBot
- Added class
ApplicationCommand
- Made data argument in
SelectMenu.add_option()
optional
- Added class
SelectMenu
- Added helper method
Helpers.assert_length()
- Fixed
DiscordBot.edit()
was not updatingMessage.attachments
properly - Added
DiscordBot.create_reaction()
- Added
DiscordBot.delete_reaction()
- Added
DiscordBot.delete_reactions()
- Added
DiscordBot.get_reactions()
- Added signal
DiscordBot.message_reaction_add
- Added signal
DiscordBot.message_reaction_remove
- Added signal
DiscordBot.message_reaction_remove_all
- Added signal
DiscordBot.message_reaction_remove_emoji
- Fixed
DiscordBot.delete()
(Wasn't deleting the message)
- Added
DiscordBot.create_dm_channel()
- Added
DiscordBot.get_guild_emojis()
- Added emoji support for
MessageButton
- Added
DiscordBot.get_guild_member()
- Added
DiscordBot.add_member_role()
- Added
DiscordBot.remove_member_role()
- Updated
DiscordBot.send
to accept the channel_id or aMessage
- Added
DiscordBot.permissions_in()
to get bot permissions in a channel - Added
DiscordBot.permissions_for()
to get permmissions for a specific user (currently only Bot works)
- Added support for 4096 size in
DiscordBot.get_guild_icon()
- Added support for 4096 size in
User.get_display_avatar()
- Fixed dynamic option in
User.get_display_avatar()
- Fixed a bug where
Message
did not store components. - Added
DiscordInteraction.delete_follow_up(message: Message)
to delete a sent follow up message. - Certain functions now use
push_error()
instead ofassert()
so that the program doesn't stop is an error occurs.
- Fixed User.get_display_avatar() was not returning PoolByteArray
- Fixed User.get_default_avatar() was not returning PoolByteArray
- Added support for button components
- Added classes DiscordInteraction, MessageActionRow and MessageButton
- Added class MessageFlags for Message.flags
- Fixed a bug where bot would automatically login without calling the .login() method
- Added User.get_display_avatar_url()
- Added User.get_default_avatar_url()
- Fixed bug where bot crashes if no avatar is set
- If bot gets ratelimited, it now waits until the message is sent
- Bot will try to reconnect every 5s if initially there is no internet
- Added support to delete messages. DiscordBot.delete()
- Fixed bot crashing when only stickers were sent
- Made Helpers.make_iso_string() more efficient
- Fixed typo parsing options in User.get_display_avatar
- Initial version