Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Discord Php Laravel Package

team-reflex/discord-php

DiscordPHP is a PHP wrapper for Discord’s REST, gateway, and voice APIs. Build Discord bots that run in CLI with ReactPHP-style async handling. Includes limited docs/class reference and community integrations like Laracord for Laravel.

View on GitHub
Deep Wiki
Context7

title: "Voices"

Voice State Update

Called with a VoiceStateUpdate object when a member joins, leaves or moves between voice channels.

// use Discord\Parts\WebSockets\VoiceStateUpdate;

$discord->on(Event::VOICE_STATE_UPDATE, function (VoiceStateUpdate $state, Discord $discord, $oldstate) {
    // ...
});

Requires the Intents::GUILD_VOICE_STATES intent.

Voice Server Update

Called with a VoiceServerUpdate object when a voice server is updated in a guild.

// use Discord\Parts\WebSockets\VoiceServerUpdate;

$discord->on(Event::VOICE_SERVER_UPDATE, function (VoiceServerUpdate $guild, Discord $discord) {
    // ...
});

Voice Channel Status and Start Time

Voice channel status and voice session start time are ephemeral fields that are not present on the channel object. Apps can request these fields from the gateway using the Request Channel Info command and will receive a Channel Info event in response.

Request Channel Info

Send an opcode 43 payload to request ephemeral channel data for a guild. The server will reply with a Channel Info event containing the requested fields for channels in the guild.

Example payload:

{
    "guild_id": "613425648685547541",
    "fields": ["status", "voice_start_time"]
}

Available fields:

  • status — short status string set for the voice channel.
  • voice_start_time — timestamp for when the voice session started.

Events

  • Voice Channel Status Update — fired when a channel's status changes.
  • Voice Channel Start Time Update — fired when a voice session's start time changes.

Audit Log

Two audit log event types track status changes:

  • VOICE_CHANNEL_STATUS_UPDATE (192) — contains status in the Optional Audit Entry Info.
  • VOICE_CHANNEL_STATUS_DELETE (193).
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai