Skip to content

Commit

Permalink
Backport #938
Browse files Browse the repository at this point in the history
  • Loading branch information
SQKo committed Oct 9, 2022
1 parent 7cbdc13 commit 093e63d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ See [examples folder](examples) for more.

## Documentation

Documentation can be found [here](//discord-php.github.io/DiscordPHP). Raw documentation can be found in-line in the code and on the [DiscordPHP Class Reference](//discord-php.github.io/DiscordPHP/reference).
Documentation can be found [here](//discord-php.github.io/DiscordPHP/guide). Raw documentation can be found in-line in the code. Community contributed tutorials can be found on the [wiki](//github.com/discord-php/DiscordPHP/wiki).

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion src/Discord/Parts/Channel/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
* @property Thread|null $thread The thread that the message was sent in.
* @property Collection|Component[]|null $components Sent if the message contains components like buttons, action rows, or other interactive components.
* @property Collection|Sticker[]|null $sticker_items Stickers attached to the message.
* @property int|null $position A generally increasing integer (there may be gaps or duplicates) that represents the approximate position of the message in a thread, it can be used to estimate the relative position of the messsage in a thread in company with `total_message_sent` on parent thread.
* @property int|null $position A generally increasing integer (there may be gaps or duplicates) that represents the approximate position of the message in a thread, it can be used to estimate the relative position of the message in a thread in company with `total_message_sent` on parent thread.
* @property bool $crossposted Message has been crossposted.
* @property bool $is_crosspost Message is a crosspost from another channel.
* @property bool $suppress_embeds Do not include embeds when serializing message.
Expand Down
2 changes: 2 additions & 0 deletions src/Discord/Parts/Guild/Guild.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
* @property string $preferred_locale Preferred locale of the guild.
* @property string $public_updates_channel_id Notice channel id.
* @property int|null $max_video_channel_users Maximum amount of users allowed in a video channel.
* @property int|null $max_stage_video_channel_users Maximum amount of users in a stage video channel.
* @property int|null $approximate_member_count Approximate number of members in this guild, returned from the GET /guilds/<id> endpoint when with_counts is true.
* @property int|null $approximate_presence_count Approximate number of non-offline members in this guild, returned from the GET /guilds/<id> endpoint when with_counts is true.
* @property int $nsfw_level The guild NSFW level.
Expand Down Expand Up @@ -213,6 +214,7 @@ class Guild extends Part
'member_count',
'voice_states',
'max_video_channel_users',
'max_stage_video_channel_users',
'approximate_member_count',
'approximate_presence_count',
'welcome_screen',
Expand Down
2 changes: 1 addition & 1 deletion src/Discord/Parts/Thread/Thread.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* @property int $rate_limit_per_user Amount of seconds a user has to wait before sending a new message.
* @property string $owner_id The ID of the owner of the thread.
* @property string $parent_id The ID of the channel which the thread was started in.
* @property int $message_count Number of messages (not including the initial message or deleted messages) in a thread (if the thread was created before July 1, 2022, it stops counting at 50).
* @property int $message_count Number of messages (not including the initial message or deleted messages) in a thread (if the thread was created before July 1, 2022, the message count is inaccurate when it's greater than 50).
* @property int $member_count An approximate count of the number of members in the thread. Stops counting at 50.
* @property Guild|null $guild The guild which the thread belongs to.
* @property User|null $owner The owner of the thread.
Expand Down

0 comments on commit 093e63d

Please sign in to comment.