Discore
Show / Hide Table of Contents

Method HasFeature

| Improve this Doc View Source

HasFeature(string)

Returns whether this guild has the given feature.

Declaration
public bool HasFeature(string feature)
Parameters
Type Name Description
string feature
Returns
Type Description
bool
Exceptions
Type Condition
ArgumentNullException

Thrown if feature is null.

See Also
DiscordGuildFeature
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX