![]() If the message is a response to an Interaction, this is the id of the interaction's application Whether text to speech was set when the message was sentĪny roles that were mentioned in the messageĪny channels that were mentioned in the messageĬurrent message activity, requires rich presentĪpplication of the message, requires rich presence The time the message was edited or null if it hasn't been edited The member that sent this message, or null if it was in a private message The unique identifier of the guild that the channel the message was sent in belongs to Id of the channel the message was sent in Messages are present in channels and can be anything from a cross post to a reply and a regular message. Number of days back to delete messages, default none When the member started boosting the guildīans the member from the guild. The id of the guild the member is a part of The four digit discriminator of the member When the user's timeout will expire and the user will be able to communicate in the guild again, null or a time in the past if the user is not timed out Whether the user has not yet passed the guild's Membership Screening requirements muting a member with a member object $channel -> muteMember ( $member ) -> done ( function ( ) ) Properties name See Channel Permissions for a valid list of permissions. Takes two arrays of permissions - one for allow and one for deny. Sets the permissions of a member or role. ![]() The camera video quality mode of the voice channel, 1 when not present.ĭefault duration for newly created threads, in minutes, to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080. Voice region id for the voice channel, automatic when set to null. When the last message was pinned in the channel Id of the parent of the channel if it is in a group Id of the group dm creator if it was via an oauth application User limit of the channel for voice channelsĪmount of time in seconds a user has to wait between messages Recipients of the group direct message, only for group dm channels Recipient of the direct message, only for direct message channel Id of the last message sent in the channel Whether the message is a private direct message channel Position of the channel in the Discord client Guild the channel belongs to, null if direct message Id of the guild the channel belongs to, null if direct message Type of the channel, see Channel constants InstallationĬhannels represent a Discord channel, whether it be a direct message channel, group channel, voice channel, text channel etc. There is no need to pay for the premium features, the free version will suffice. We recommend installing PHP Intelephense alongside your LSP-equipped editor for code completion alongside other helpful features. Vim/Neovim (with the coc.nvim plugin for LSP support).Visual Studio Code (built-in LSP support).We recommend using an editor with support for the Language Server Protocol.Ī list of supported editors can be found here. If you are running on Windows, you must be using PHP 8.0.X86_64 Windows, Linux or Darwin based OS. ext-mbstring if you may handle non-english characters.One of ext-uv, ext-libev or evt-event (in order of preference) for a faster, and more performant event loop.ext-zlib for gateway packet compression.x86 (32-bit) PHP requires ext-gmp extension enabled for handling new Permission values.Will not run on a webserver (FPM, CGI), you must run through CLI.This documentation page will be moved to class reference. This documentation is based off the latest release. ![]() DiscordPHP is a wrapper for the Discord REST, WebSocket and Voice APIs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |