stdoat 0.6.1
stdoat: ^0.6.1 copied to clipboard
A package for creating Stoat.chat bots using the Dart programming language. Not officially endorsed by stoat.chat
stdoat Changelog #
0.6.1 #
- CommandHandler now sanitizes the use of @ everyone mentions if used in the CommandHandler.
- The url for the homepage has been changed from the Stoat server to the Codeberg repo within the pubspec.yaml file.
0.6.0 #
- sendMessage in the webhook client now supports masquerade for webhooks to have a different name and avatar.
- Added getWebhookInfo, editMessage, and deleteMessage to WebhookClient.
- Introduced editWebhook available in StdoatClient and WehbookClient
- Updated the example_webhook.dart example to show webhook information via the WebhookClient.
0.5.0 #
- Introduced editChannel which allows editing description, nsfw, and slowmode.
- Introduced deletewWebhook available in StdoatClient and WehbookClient
0.4.0 #
- The new permissions system that was being tested in v0.4.0-dev.1 has been stablized and tested so this new system is fully ready.
- Changed some log text including some that was still saying Revolt.
- Removed some comments from permissions.dart file from the source code since we are done testing the feature.
0.4.0-dev.1 #
- Testing the new permissions system so you can lock a command to a certain permission without requiring you to be the owner.
- Fixed some typos in the pubspec.yaml file.
0.3.0 #
- Added pinMessage() and unpinMessage() in client to support pinning/unpinning messages.
- Added getMember() in client
- Added editMember() in client with nickname, role, and timeout support.
- Removed the duplicate url in the webhooks embed function.
- Changed _authHeaderKey into authHeaderKey to allow support for our new Stdoat extention packages
- Added a example_rolemanager.dart example to showcase the new editMember() function with adding/removing a role from a user.
0.2.0 #
- Added support for checking if the command author is the server owner.
- Added support for checking if the command is run in a server or not (basically blocking command usage in Stoat groups or DMs)
- Added support for editing client's own messages
- Other minor changes
0.1.1 #
- Fixed a bug where when the websocket connection closes, it didn't try to reconnect.
0.1.0 #
- Initial alpha release.
- Supports onMessage, commandHandler, and onReady events.
- Supports standard messages, embeds, masquerades, webhooks, NSFW channel check, Bot owner check, and 3rd party stoat.chat instances.
- Added an example.dart example, a example_commands.dart example, and a example_webhooks.dart example
- This release targets v0.8 of the stoat.chat API.
- Source code is licensed under the MIT license
- NOTE: This is an alpha release as this package is unfinished. Expect things to be buggy.