패키지, 저장소 및 앱 카테고리 검색

패키지 상세v6.9.1

nyxx

봇 및 애플리케이션용으로 디스코드 API를 완전하고 강력하며 효율적으로 래핑한 것입니다.

AndroidiOSmacOSWindowsLinux
30일 다운로드
1.9천
좋아요
109
Pub 점수
140

패키지 설치

flutter pub add nyxx

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Nyxx는 봇과 애플리케이션을 구축하기 위해 Discord API에 대한 완전한 접근 권한을 제공하는 포괄적이고 효율적이며 견고한 Dart 라이브러리입니다. 성능과 신뢰성을 고려하여 설계되었으며 실시간 상호작용, 이벤트 처리 및 서버, 사용자, 메시지 관리를 위한 풍부한 기능을 지원합니다. 다양한 플랫폼에서 기능이 풍부한 Discord 통합을 개발하고자 하는 개발자에게 적합합니다. 깔끔한 API와 활성화된 커뮤니티 지원으로 초보자부터 경험이 풍부한 개발자까지 강력한 선택지가 됩니다.

사용 사례

  • 디스코드 봇 만들기
  • 실시간 채팅 애플리케이션 만들기
  • 다중 플랫폼 앱에 디스코드 통합하기
  • 서버 자동화 관리
  • 메시지 이벤트 및 반응 처리

주요 기능

  • 완전한 디스코드 API 커버리지
  • 실시간 이벤트 스트리밍
  • 크로스 플랫폼 지원
  • 효율적인 자원 사용
  • 강력한 오류 처리
  • 모듈러 디자인

적합한 대상

  • 디스코드 봇 개발자
  • 다중 플랫폼 애플리케이션 제작자
  • 실시간 통신 프로젝트
  • 서버 자동화 도구
  • 디스코드 통합을 목표로 한 Dart/Flutter 개발자

고려 사항

  • Discord API 이해 필요
  • 인증을 위해 추가 설정이 필요할 수 있습니다
  • 안정적인 네트워크 연결에 의존
  • 고급 기능의 학습 곡선
  • 사용자 친화적인 디스코드 클라이언트에는 적합하지 않습니다

원본 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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.