Method ModifyInventorySettingsAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
ModifyInventorySettingsAsync(bool, string?)
Modifies the guild's inventory settings.
[DiscordDeprecated]
[RequiresFeature(Features.Override|Features.Community)]
public Task<DiscordGuild> ModifyInventorySettingsAsync(bool enabled, string? reason = null)
Parameters
enabled
boolWhether to allow emoji packs to be collected.
reason
stringThe audit log reason, currently not supported.