Skip to content

SearchOptions

Options of a search.

T = unknown

limit?: number;

[Default: 10] Maximum number of results.


member?: GuildMember;

Requested user

ResolveOptions.member


metadata?: T;

Metadata

ResolveOptions.metadata


safeSearch?: boolean;

Whether or not filtering the explicit content.


source?: string;

The source to resolve the input in.

It matches the Plugin.source of a plugin, or one of its Plugin.aliases. When it is not given, every plugin is used.

ResolveOptions.source


type?: SearchResultType;

The kind of result the caller is looking for.