fluxer_api 0.3.1
fluxer_api: ^0.3.1 copied to clipboard
A package for creating Fluxer.app bots using the Dart programming language. Not officially endorsed by Fluxer.app
fluxer_api Changelog #
0.3.1 #
- sendMessage now has sanitization to avoid everyone and here mentions.
0.3.0 #
- BREAKING CHANGE: sendWebhookMessage is now sendMessage for FluxerWebhookClient()
- sendMessage in FluxerWebhookClient now allows using embeds.
- Introduced editMessage, deleteMessage, deleteWebhook, getWebhookInfo, and editWebhook in WehbookClient
- Updated the example_webhook.dart example to show webhook information via the FluxerWebhookClient and to address the breaking change.
- The bot can now properly know its own username, user ID, and avatar url
- Better error handling to hopefully prevent bot crashes due to unexpected errors.
- The Heartbeat trasmission message will no longer spam the console.
- The forwardMessage function now works as intended instead of always failing.
0.2.0 #
- Minumum Dart SDK has been changed from 3.0.x to 3.3.x (like it is supposed to).
- Added support for onReady, onUserJoin, onUserLeave, and onMessageDelete events.
- Added the ability to add fields to embeds
- Added requireSpecificServer, getServerInfo, editUserRole, timeoutUser, and forwardMessage functions.
0.1.0 #
- Initial alpha release.
- Supports onMessage and registerCommand events.
- Supports standard messages, embeds, webhooks, NSFW channel check, Server owner check, and 3rd party fluxer.app instances.
- Added an example.dart example, a example_commands.dart example, and a example_webhooks.dart example
- Source code is licensed under the MIT license
- NOTE: This is an alpha release as this package is unfinished. Expect things to be buggy.