fluxer_api 0.2.0 copy "fluxer_api: ^0.2.0" to clipboard
fluxer_api: ^0.2.0 copied to clipboard

A package for creating Fluxer.app bots using the Dart programming language. Not officially endorsed by Fluxer.app

fluxer_api #

fluxer_api is a community made Dart package for making bots for fluxer.app with the Dart programming language. This package also includes support for using Fluxer.app's webhooks.

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:
	fluxer_api:
		git: https://codeberg.org/fluxer_api/fluxer_api.git
	# Your other dependencies here

Method 2: Install via pub.dev #

Add the following to your pubspec.yaml file

dependencies:
	fluxer_api: ^0.2.0
	# Your other dependencies here

Usage #

Here is a basic example of using the package to make a simple ping pong bot.

import 'package:fluxer_api/fluxer_api.dart';

void main() async {
	final bot = FluxerClient(
		token: '',
		commandPrefix: '!',
	);

	bot.onMessage((message) async {
		print('onMessage: ${message.authorId} sent ${message.content}');
		if (message.content.trim().toLowerCase() == 'ping') {
			await bot.sendMessage(message.channelId, 'Pong! 🏓');
		}
	});

	await bot.connect();
}

You can refer to the example directory on the Codeberg repo for more examples on using this package.

If you need help with this package, you can join the fluxer_api Fluxer server

Release Dates: #

  • V0.2.0: June 7th, 2026
  • V0.1.0: June 3rd, 2026
  • Started on: June 2nd, 2026
1
likes
150
points
164
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A package for creating Fluxer.app bots using the Dart programming language. Not officially endorsed by Fluxer.app

Repository

License

MIT (license)

Dependencies

http, web_socket_channel

More

Packages that depend on fluxer_api