パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v6.9.1

nyxx

ボットおよびアプリケーション向けに、DiscordのAPIを完全かつ堅牢かつ効率的にラップしたものです。

AndroidiOSmacOSWindowsLinux
30日間ダウンロード
1850
いいね数
109
Pub ポイント
140

パッケージをインストール

flutter pub add nyxx

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Nyxx は、ボットやアプリケーションの構築に向けた Discord API への完全なアクセスを提供する包括的で効率的かつ堅牢な Dart ライブラリです。パフォーマンスと信頼性を最優先に設計されており、リアルタイムの相互作用、イベント処理、サーバー、ユーザー、メッセージの管理に必要な豊富な機能をサポートしています。複数のプラットフォームで機能豊富な Discord インテグレーションを開発したい開発者にとって適しています。明確な API と活発なコミュニティサポートにより、初心者から経験豊富な開発者まで幅広くおすすめできます。

用途

  • Discord ボットの構築
  • リアルタイムチャットアプリの作成
  • マルチプラットフォームアプリへのDiscordの統合
  • サーバー自動化の管理
  • メッセージイベントおよび反応の処理

主な機能

  • 完全な Discord API カバレッジ
  • リアルタイムイベントストリーミング
  • クロスプラットフォーム対応
  • 効率的なリソース利用
  • 堅牢なエラー処理
  • モジュラーデザイン

適している対象

  • Discordボット開発者
  • マルチプラットフォームアプリケーション作成者
  • リアルタイム通信プロジェクト
  • サーバー自動化ツール
  • Discord統合をターゲットとしたDart/Flutter開発者

注意事項

  • Discord API の理解が必要です
  • 認証のための追加設定が必要になる場合があります
  • 安定したネットワーク接続に依存する
  • 高度な機能の習得曲線
  • ユーザー向けのDiscordクライアントには対応していません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

nyxx

Discord pub documentation

A complete, robust and efficient wrapper around Discord's API for bots & applications.

To get started using nyxx, follow our getting started guide to write your first bot.

If you're already familiar with Discord's API, here's a quick example to get you started:

import 'package:nyxx/nyxx.dart';

void main() async {
  final client = await Nyxx.connectGateway('<TOKEN>', GatewayIntents.allUnprivileged);

  final botUser = await client.users.fetchCurrentUser();

  client.onMessageCreate.listen((event) async {
    if (event.mentions.contains(botUser)) {
      await event.message.channel.sendMessage(MessageBuilder(
        content: 'You mentioned me!',
        referencedMessage: MessageReferenceBuilder.reply(messageId: event.message.id),
      ));
    }
  });
}

Other nyxx packages

  • nyxx_commands: A command framework for handling both simple & complex commands.
  • nyxx_extensions: Pagination, emoji utilities and other miscellaneous helpers for developing bots using nyxx.
  • nyxx_lavalink: Lavalink support for playing audio in voice channels.

More examples

  • More examples can be found in our GitHub repository here.
  • Running on Dart is a complete example of a bot written with nyxx.

Additional documentation & help

The API documentation for the latest stable version can be found on pub.

Docs and wiki

Tutorials and wiki articles are hosted here.

Official nyxx Discord server

Our Discord server is where you can get help for any nyxx packages, as well as release announcements and discussions about the library.

Discord API docs

Discord's API documentation details what nyxx implements & provides more detailed explanations of certain topics.

Discord API Server

The unofficial guild for Discord Bot developers. To get help with nyxx check #dart_nyxx channel.

Pub.dev docs

The dartdocs page will always have the documentation for the latest release.

Contributing to Nyxx

Read the contributing document

Credits

  • Thanks to Hackzzila's for nyx, the original project nyxx was forked from.

カテゴリー

依存関係

依存関係一覧 9 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。