Skip to content

Commit

Permalink
feature_community (#888)
Browse files Browse the repository at this point in the history
this was kinda missing from the code
  • Loading branch information
key2peace authored and SQKo committed Aug 17, 2022
1 parent 80df187 commit 157825e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Discord/Parts/Guild/Guild.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,11 @@ protected function getFeatureCommerceAttribute(): bool
return in_array('COMMERCE', $this->features);
}

protected function getFeatureCommunityAttribute(): bool
{
return in_array('COMMUNITY', $this->features);
}

protected function getFeatureDiscoverableAttribute(): bool
{
return in_array('DISCOVERABLE', $this->features);
Expand Down

0 comments on commit 157825e

Please sign in to comment.