version 1.2 change log
Additions:
- Events
-
- Added JoinGuild event (this event gets fired when the bot joins a new guild)
-
- Added LeaveGuild event (same as above, but for leaving)
- Extension (String)
-
- string.RemoveMentions() - Removes all kinds of mentions and replaces it with their name.
-
- string.Peel() - peels a onion string with a start and end char
-
- string.Slice() - slices all seperate onion strings
-
- string.GetArguments() - gets all arguments in a string and returns them as a ArgumentField
- IAddonInstance
-
- Added helper functions (GetGuildCount(), GetBotId(), GetModules(), GetUserAccessibility(message), ListCommands(), GetIdentifierAsync(ulong), GetBotVersion(), QueryAsync())
- IDiscordMessage
-
- Added Reactions array.
-
- Added MentionedChannelIds
- IDiscordMessageChannel
-
- SendOption - This is a option field, using a message and reactions as the author's reaction.
- IDiscordEmbed
-
- Added AddEmbed(IDiscordEmbed) - function for ease.
-
- Added ThumbnailUrl - which creates the icon on the top-right corner
-
- Added Query(string) - More explained at IQueryable
- IQueryable
-
- This is a new class, that allows you to create a instance from a string only. This is already implemented for IDiscordEmbed.
- Log
-
- Miki's original log class is now in IA.SDK
Fixes:
- SendFile(string) works now.
Additions (uncompleted):
- AddonRunException
- IDiscordClient