stdoat 0.4.0
stdoat: ^0.4.0 copied to clipboard
A package for creating Stoat.chat bots using the Dart programming language. Not officially endorsed by stoat.chat
stdoat #
stdoat is a Dart package for making bots for stoat.chat with the Dart programming language. This package also includes support for using stoat.chat's webhooks.
I made this because Volt is unmaintained as the developer of the package has not updated the package in years.
Installation #
Before using, make sure you are using Dart v3.3 or newer in order to use this package.
Method 1: Install via git #
Add the following to your pubspec.yaml file
dependencies:
stdoat:
git: https://codeberg.org/ahsokasoftware/stdoat.git
# Your other dependencies here
Method 2: Install via pub.dev #
Add the following to your pubspec.yaml file
dependencies:
stdoat: ^0.4.0
# Your other dependencies here
Usage #
Here is a basic example of using the package to make a simple ping pong bot.
import 'package:stdoat/stdoat.dart';
void main() async {
final String botToken = 'REVOLT_BOTTOKEN';
final client = StdoatClient(botToken);
client.onMessage('message_listener', (client, message) async {
if (message.content != null && message.content == '!ping') {
await client.sendMessage(
message.channelId,
content: 'Pong!',
);
}
});
await client.connect();
}
You can refer to the example directory on the Gitlab or Codeberg repo for more examples on using this package.
If you need help with this package, you can join the Stdoat stoat.chat server
Extention Packages #
Release Dates: #
- V0.4.0: February 13th, 2026
- V0.4.0-dev.1: December 18th, 2025
- V0.3.0: December 3rd, 2025
- V0.2.0: October 16th, 2025
- V0.1.1: October 13th, 2025
- V0.1.0: October 9th, 2025
- Started on: October 1st, 2025