Skip to main content

Class: PatternCommandStore

pattern-commands/src.PatternCommandStore

Hierarchy

Constructors

constructor

new PatternCommandStore()

Overrides

AliasStore<PatternCommand\>.constructor

Defined in

projects/plugins/packages/pattern-commands/src/lib/structures/PaternCommandStore.ts:5

Properties

Constructor

Readonly Constructor: Constructor<PatternCommand>

Inherited from

AliasStore.Constructor

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:281


[toStringTag]

Readonly [toStringTag]: string

Inherited from

AliasStore.__@toStringTag@106266

Defined in

node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:135


aliases

Readonly aliases: Collection<string, PatternCommand>

Inherited from

AliasStore.aliases

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:706


constructor

constructor: CollectionConstructor

Inherited from

AliasStore.constructor

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:21


name

Readonly name: string

Inherited from

AliasStore.name

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:282


paths

Readonly paths: Set<string>

Inherited from

AliasStore.paths

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:283


size

Readonly size: number

Inherited from

AliasStore.size

Defined in

node_modules/typescript/lib/lib.es2015.collection.d.ts:28


strategy

Readonly strategy: ILoaderStrategy<PatternCommand>

Inherited from

AliasStore.strategy

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:284


[species]

Static Readonly [species]: MapConstructor

Inherited from

AliasStore.__@species@106412

Defined in

node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:317


default

Static Readonly default: typeof Collection

Inherited from

AliasStore.default

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:28


defaultStrategy

Static defaultStrategy: ILoaderStrategy<any>

Inherited from

AliasStore.defaultStrategy

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:369


logger

Static logger: null | StoreLogger

Inherited from

AliasStore.logger

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:373

Accessors

container

get container(): Container

Returns

Container

Inherited from

AliasStore.container

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:294

Methods

[iterator]

[iterator](): IterableIterator<[string, PatternCommand]>

Returns

IterableIterator<[string, PatternCommand]>

Inherited from

AliasStore.__@iterator@106194

Defined in

node_modules/typescript/lib/lib.es2015.iterable.d.ts:121


at

at(index): undefined | PatternCommand

Parameters

NameTypeDescription
indexnumber

Returns

undefined | PatternCommand

Inherited from

AliasStore.at

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:101


clear

clear(): void

Returns

void

Inherited from

AliasStore.clear

Defined in

node_modules/typescript/lib/lib.es2015.collection.d.ts:22


clone

clone(): Collection<string, PatternCommand>

Returns

Collection<string, PatternCommand>

Inherited from

AliasStore.clone

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:320


concat

concat(...collections): Collection<string, PatternCommand>

Parameters

NameTypeDescription
...collectionsReadonlyCollection<string, PatternCommand>[]

Returns

Collection<string, PatternCommand>

Inherited from

AliasStore.concat

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:329


construct

construct(Ctor, data): PatternCommand

Parameters

NameTypeDescription
CtorILoaderResultEntry<PatternCommand>
dataHydratedModuleData

Returns

PatternCommand

Inherited from

AliasStore.construct

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:345


delete

delete(key): boolean

Parameters

NameType
keystring

Returns

boolean

Inherited from

AliasStore.delete

Defined in

node_modules/typescript/lib/lib.es2015.collection.d.ts:23


difference

difference<T>(other): Collection<string, PatternCommand | T>

Type parameters

Name
T

Parameters

NameTypeDescription
otherReadonlyCollection<string, T>

Returns

Collection<string, PatternCommand | T>

Inherited from

AliasStore.difference

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:363


each

each(fn): PatternCommandStore

Parameters

NameTypeDescription
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => void

Returns

PatternCommandStore

Inherited from

AliasStore.each

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:298

each<T>(fn, thisArg): PatternCommandStore

Type parameters

Name
T

Parameters

NameType
fn(this: T, value: PatternCommand, key: string, collection: PatternCommandStore) => void
thisArgT

Returns

PatternCommandStore

Inherited from

AliasStore.each

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:299


ensure

ensure(key, defaultValueGenerator): PatternCommand

Parameters

NameTypeDescription
keystring
defaultValueGenerator(key: string, collection: PatternCommandStore) => PatternCommand

Returns

PatternCommand

Inherited from

AliasStore.ensure

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:38


entries

entries(): IterableIterator<[string, PatternCommand]>

Returns

IterableIterator<[string, PatternCommand]>

Inherited from

AliasStore.entries

Defined in

node_modules/typescript/lib/lib.es2015.iterable.d.ts:126


equals

equals(collection): boolean

Parameters

NameTypeDescription
collectionReadonlyCollection<string, PatternCommand>

Returns

boolean

Inherited from

AliasStore.equals

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:339


every

every<K2>(fn): this is Collection<K2, PatternCommand>

Type parameters

NameType
K2extends string

Parameters

NameTypeDescription
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => key is K2

Returns

this is Collection<K2, PatternCommand>

Inherited from

AliasStore.every

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:266

every<V2>(fn): this is Collection<string, V2>

Type parameters

NameType
V2extends PatternCommand<V2>

Parameters

NameType
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => value is V2

Returns

this is Collection<string, V2>

Inherited from

AliasStore.every

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:267

every(fn): boolean

Parameters

NameType
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => boolean

Returns

boolean

Inherited from

AliasStore.every

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:268

every<This, K2>(fn, thisArg): this is Collection<K2, PatternCommand>

Type parameters

NameType
ThisThis
K2extends string

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => key is K2
thisArgThis

Returns

this is Collection<K2, PatternCommand>

Inherited from

AliasStore.every

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:269

every<This, V2>(fn, thisArg): this is Collection<string, V2>

Type parameters

NameType
ThisThis
V2extends PatternCommand<V2>

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => value is V2
thisArgThis

Returns

this is Collection<string, V2>

Inherited from

AliasStore.every

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:270

every<This>(fn, thisArg): boolean

Type parameters

Name
This

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => boolean
thisArgThis

Returns

boolean

Inherited from

AliasStore.every

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:271


filter

filter<K2>(fn): Collection<K2, PatternCommand>

Type parameters

NameType
K2extends string

Parameters

NameTypeDescription
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => key is K2

Returns

Collection<K2, PatternCommand>

Inherited from

AliasStore.filter

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:186

filter<V2>(fn): Collection<string, V2>

Type parameters

NameType
V2extends PatternCommand<V2>

Parameters

NameType
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => value is V2

Returns

Collection<string, V2>

Inherited from

AliasStore.filter

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:187

filter(fn): Collection<string, PatternCommand>

Parameters

NameType
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => boolean

Returns

Collection<string, PatternCommand>

Inherited from

AliasStore.filter

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:188

filter<This, K2>(fn, thisArg): Collection<K2, PatternCommand>

Type parameters

NameType
ThisThis
K2extends string

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => key is K2
thisArgThis

Returns

Collection<K2, PatternCommand>

Inherited from

AliasStore.filter

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:189

filter<This, V2>(fn, thisArg): Collection<string, V2>

Type parameters

NameType
ThisThis
V2extends PatternCommand<V2>

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => value is V2
thisArgThis

Returns

Collection<string, V2>

Inherited from

AliasStore.filter

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:190

filter<This>(fn, thisArg): Collection<string, PatternCommand>

Type parameters

Name
This

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => boolean
thisArgThis

Returns

Collection<string, PatternCommand>

Inherited from

AliasStore.filter

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:191


find

find<V2>(fn): undefined | V2

Type parameters

NameType
V2extends PatternCommand<V2>

Parameters

NameTypeDescription
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => value is V2

Returns

undefined | V2

Inherited from

AliasStore.find

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:146

find(fn): undefined | PatternCommand

Parameters

NameType
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => boolean

Returns

undefined | PatternCommand

Inherited from

AliasStore.find

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:147

find<This, V2>(fn, thisArg): undefined | V2

Type parameters

NameType
ThisThis
V2extends PatternCommand<V2>

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => value is V2
thisArgThis

Returns

undefined | V2

Inherited from

AliasStore.find

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:148

find<This>(fn, thisArg): undefined | PatternCommand

Type parameters

Name
This

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => boolean
thisArgThis

Returns

undefined | PatternCommand

Inherited from

AliasStore.find

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:149


findKey

findKey<K2>(fn): undefined | K2

Type parameters

NameType
K2extends string

Parameters

NameTypeDescription
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => key is K2

Returns

undefined | K2

Inherited from

AliasStore.findKey

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:161

findKey(fn): undefined | string

Parameters

NameType
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => boolean

Returns

undefined | string

Inherited from

AliasStore.findKey

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:162

findKey<This, K2>(fn, thisArg): undefined | K2

Type parameters

NameType
ThisThis
K2extends string

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => key is K2
thisArgThis

Returns

undefined | K2

Inherited from

AliasStore.findKey

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:163

findKey<This>(fn, thisArg): undefined | string

Type parameters

Name
This

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => boolean
thisArgThis

Returns

undefined | string

Inherited from

AliasStore.findKey

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:164


first

first(): undefined | PatternCommand

Returns

undefined | PatternCommand

Inherited from

AliasStore.first

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:62

first(amount): PatternCommand[]

Parameters

NameType
amountnumber

Returns

PatternCommand[]

Inherited from

AliasStore.first

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:63


firstKey

firstKey(): undefined | string

Returns

undefined | string

Inherited from

AliasStore.firstKey

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:72

firstKey(amount): string[]

Parameters

NameType
amountnumber

Returns

string[]

Inherited from

AliasStore.firstKey

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:73


flatMap

flatMap<T>(fn): Collection<string, T>

Type parameters

Name
T

Parameters

NameTypeDescription
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => Collection<string, T>

Returns

Collection<string, T>

Inherited from

AliasStore.flatMap

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:218

flatMap<T, This>(fn, thisArg): Collection<string, T>

Type parameters

Name
T
This

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => Collection<string, T>
thisArgThis

Returns

Collection<string, T>

Inherited from

AliasStore.flatMap

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:219


forEach

forEach(callbackfn, thisArg?): void

Parameters

NameType
callbackfn(value: PatternCommand, key: string, map: Map<string, PatternCommand>) => void
thisArg?any

Returns

void

Inherited from

AliasStore.forEach

Defined in

node_modules/typescript/lib/lib.es2015.collection.d.ts:24


get

get(key): undefined | PatternCommand

Parameters

NameTypeDescription
keystring

Returns

undefined | PatternCommand

Inherited from

AliasStore.get

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:711


has

has(key): boolean

Parameters

NameTypeDescription
keystring

Returns

boolean

Inherited from

AliasStore.has

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:716


hasAll

hasAll(...keys): boolean

Parameters

NameTypeDescription
...keysstring[]

Returns

boolean

Inherited from

AliasStore.hasAll

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:46


hasAny

hasAny(...keys): boolean

Parameters

NameTypeDescription
...keysstring[]

Returns

boolean

Inherited from

AliasStore.hasAny

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:54


insert

insert(piece): Promise<PatternCommand>

Parameters

NameTypeDescription
piecePatternCommand

Returns

Promise<PatternCommand>

Inherited from

AliasStore.insert

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:728


intersect

intersect<T>(other): Collection<string, T>

Type parameters

Name
T

Parameters

NameTypeDescription
otherReadonlyCollection<string, T>

Returns

Collection<string, T>

Inherited from

AliasStore.intersect

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:357


keyAt

keyAt(index): undefined | string

Parameters

NameTypeDescription
indexnumber

Returns

undefined | string

Inherited from

AliasStore.keyAt

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:109


keys

keys(): IterableIterator<string>

Returns

IterableIterator<string>

Inherited from

AliasStore.keys

Defined in

node_modules/typescript/lib/lib.es2015.iterable.d.ts:131


last

last(): undefined | PatternCommand

Returns

undefined | PatternCommand

Inherited from

AliasStore.last

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:82

last(amount): PatternCommand[]

Parameters

NameType
amountnumber

Returns

PatternCommand[]

Inherited from

AliasStore.last

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:83


lastKey

lastKey(): undefined | string

Returns

undefined | string

Inherited from

AliasStore.lastKey

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:92

lastKey(amount): string[]

Parameters

NameType
amountnumber

Returns

string[]

Inherited from

AliasStore.lastKey

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:93


load

load(root, path): Promise<PatternCommand[]>

Parameters

NameTypeDescription
rootstring
pathstring

Returns

Promise<PatternCommand[]>

Inherited from

AliasStore.load

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:312


loadAll

loadAll(): Promise<void>

Returns

Promise<void>

Inherited from

AliasStore.loadAll

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:326


map

map<T>(fn): T[]

Type parameters

Name
T

Parameters

NameTypeDescription
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => T

Returns

T[]

Inherited from

AliasStore.map

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:230

map<This, T>(fn, thisArg): T[]

Type parameters

Name
This
T

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => T
thisArgThis

Returns

T[]

Inherited from

AliasStore.map

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:231


mapValues

mapValues<T>(fn): Collection<string, T>

Type parameters

Name
T

Parameters

NameTypeDescription
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => T

Returns

Collection<string, T>

Inherited from

AliasStore.mapValues

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:242

mapValues<This, T>(fn, thisArg): Collection<string, T>

Type parameters

Name
This
T

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => T
thisArgThis

Returns

Collection<string, T>

Inherited from

AliasStore.mapValues

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:243


merge

merge<T, R>(other, whenInSelf, whenInOther, whenInBoth): Collection<string, R>

Type parameters

Name
T
R

Parameters

NameTypeDescription
otherReadonlyCollection<string, T>
whenInSelf(value: PatternCommand, key: string) => Keep<R>
whenInOther(valueOther: T, key: string) => Keep<R>
whenInBoth(value: PatternCommand, valueOther: T, key: string) => Keep<R>

Returns

Collection<string, R>

Inherited from

AliasStore.merge

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:389


partition

partition<K2>(fn): [Collection<K2, PatternCommand>, Collection<Exclude<string, K2>, PatternCommand>]

Type parameters

NameType
K2extends string

Parameters

NameTypeDescription
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => key is K2

Returns

[Collection<K2, PatternCommand>, Collection<Exclude<string, K2>, PatternCommand>]

Inherited from

AliasStore.partition

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:202

partition<V2>(fn): [Collection<string, V2>, Collection<string, Exclude<PatternCommand, V2>>]

Type parameters

NameType
V2extends PatternCommand<V2>

Parameters

NameType
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => value is V2

Returns

[Collection<string, V2>, Collection<string, Exclude<PatternCommand, V2>>]

Inherited from

AliasStore.partition

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:203

partition(fn): [Collection<string, PatternCommand>, Collection<string, PatternCommand>]

Parameters

NameType
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => boolean

Returns

[Collection<string, PatternCommand>, Collection<string, PatternCommand>]

Inherited from

AliasStore.partition

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:204

partition<This, K2>(fn, thisArg): [Collection<K2, PatternCommand>, Collection<Exclude<string, K2>, PatternCommand>]

Type parameters

NameType
ThisThis
K2extends string

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => key is K2
thisArgThis

Returns

[Collection<K2, PatternCommand>, Collection<Exclude<string, K2>, PatternCommand>]

Inherited from

AliasStore.partition

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:205

partition<This, V2>(fn, thisArg): [Collection<string, V2>, Collection<string, Exclude<PatternCommand, V2>>]

Type parameters

NameType
ThisThis
V2extends PatternCommand<V2>

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => value is V2
thisArgThis

Returns

[Collection<string, V2>, Collection<string, Exclude<PatternCommand, V2>>]

Inherited from

AliasStore.partition

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:206

partition<This>(fn, thisArg): [Collection<string, PatternCommand>, Collection<string, PatternCommand>]

Type parameters

Name
This

Parameters

NameType
fn(this: This, value: PatternCommand, key: string, collection: PatternCommandStore) => boolean
thisArgThis

Returns

[Collection<string, PatternCommand>, Collection<string, PatternCommand>]

Inherited from

AliasStore.partition

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:207


random

random(): undefined | PatternCommand

Returns

undefined | PatternCommand

Inherited from

AliasStore.random

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:117

random(amount): PatternCommand[]

Parameters

NameType
amountnumber

Returns

PatternCommand[]

Inherited from

AliasStore.random

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:118


randomKey

randomKey(): undefined | string

Returns

undefined | string

Inherited from

AliasStore.randomKey

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:126

randomKey(amount): string[]

Parameters

NameType
amountnumber

Returns

string[]

Inherited from

AliasStore.randomKey

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:127


reduce

reduce<T>(fn, initialValue?): T

Type parameters

Name
T

Parameters

NameTypeDescription
fn(accumulator: T, value: PatternCommand, key: string, collection: PatternCommandStore) => T
initialValue?T

Returns

T

Inherited from

AliasStore.reduce

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:283


registerPath

registerPath(path): PatternCommandStore

Parameters

NameTypeDescription
pathstring

Returns

PatternCommandStore

Inherited from

AliasStore.registerPath

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:305


resolve

resolve(name): PatternCommand

Parameters

NameTypeDescription
namestring | PatternCommand

Returns

PatternCommand

Inherited from

AliasStore.resolve

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:332


reverse

reverse(): PatternCommandStore

Returns

PatternCommandStore

Inherited from

AliasStore.reverse

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:132


set

set(key, value): PatternCommandStore

Parameters

NameType
keystring
valuePatternCommand

Returns

PatternCommandStore

Inherited from

AliasStore.set

Defined in

node_modules/typescript/lib/lib.es2015.collection.d.ts:27


some

some(fn): boolean

Parameters

NameTypeDescription
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => boolean

Returns

boolean

Inherited from

AliasStore.some

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:254

some<T>(fn, thisArg): boolean

Type parameters

Name
T

Parameters

NameType
fn(this: T, value: PatternCommand, key: string, collection: PatternCommandStore) => boolean
thisArgT

Returns

boolean

Inherited from

AliasStore.some

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:255


sort

sort(compareFunction?): PatternCommandStore

Parameters

NameTypeDescription
compareFunction?Comparator<string, PatternCommand>

Returns

PatternCommandStore

Inherited from

AliasStore.sort

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:351


sorted

sorted(compareFunction?): Collection<string, PatternCommand>

Parameters

NameTypeDescription
compareFunction?Comparator<string, PatternCommand>

Returns

Collection<string, PatternCommand>

Inherited from

AliasStore.sorted

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:402


sweep

sweep(fn): number

Parameters

NameTypeDescription
fn(value: PatternCommand, key: string, collection: PatternCommandStore) => boolean

Returns

number

Inherited from

AliasStore.sweep

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:173

sweep<T>(fn, thisArg): number

Type parameters

Name
T

Parameters

NameType
fn(this: T, value: PatternCommand, key: string, collection: PatternCommandStore) => boolean
thisArgT

Returns

number

Inherited from

AliasStore.sweep

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:174


tap

tap(fn): PatternCommandStore

Parameters

NameTypeDescription
fn(collection: PatternCommandStore) => void

Returns

PatternCommandStore

Inherited from

AliasStore.tap

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:312

tap<T>(fn, thisArg): PatternCommandStore

Type parameters

Name
T

Parameters

NameType
fn(this: T, collection: PatternCommandStore) => void
thisArgT

Returns

PatternCommandStore

Inherited from

AliasStore.tap

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:313


toJSON

toJSON(): PatternCommand[]

Returns

PatternCommand[]

Inherited from

AliasStore.toJSON

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:403


unload

unload(name): Promise<PatternCommand>

Parameters

NameTypeDescription
namestring | PatternCommand

Returns

Promise<PatternCommand>

Inherited from

AliasStore.unload

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:722


unloadAll

unloadAll(): Promise<PatternCommand[]>

Returns

Promise<PatternCommand[]>

Inherited from

AliasStore.unloadAll

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:322


values

values(): IterableIterator<PatternCommand>

Returns

IterableIterator<PatternCommand>

Inherited from

AliasStore.values

Defined in

node_modules/typescript/lib/lib.es2015.iterable.d.ts:136


combineEntries

Static combineEntries<K, V>(entries, combine): Collection<K, V>

Type parameters

Name
K
V

Parameters

NameTypeDescription
entriesIterable<[K, V]>
combine(firstValue: V, secondValue: V, key: K) => V

Returns

Collection<K, V>

Inherited from

AliasStore.combineEntries

Defined in

node_modules/@discordjs/collection/dist/index.d.ts:414