Table of Contents

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 bool

Whether to allow emoji packs to be collected.

reason string

The audit log reason, currently not supported.

Returns

Task<DiscordGuild>