Search
Preparing search index...
The search index is not available
不和 (Fuwa)
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
不和 (Fuwa)
GuildManager
Class GuildManager
Hierarchy
BaseManager
<
Guild
>
GuildManager
Index
Constructors
constructor
Properties
__class
cache
client
Accessors
size
Methods
add
add
Many
create
delete
fetch
get
leave
map
remove
remove
Many
resolve
update
Constructors
constructor
new
Guild
Manager
(
client
:
Client
)
:
GuildManager
Parameters
client:
Client
Returns
GuildManager
Properties
__class
__class
:
any
cache
cache
:
Map
<
string
,
Guild
>
= ...
client
client
:
Client
Accessors
size
get
size
(
)
:
number
Returns
number
Methods
add
add
(
data
:
Guild
)
:
Guild
Parameters
data:
Guild
Returns
Guild
add
Many
add
Many
(
data
:
Guild
[]
)
:
Guild
[]
Parameters
data:
Guild
[]
Returns
Guild
[]
create
create
(
name
:
string
, __namedParameters
?:
CreateGuildOptions
)
:
Promise
<
Guild
>
Parameters
name:
string
__namedParameters:
CreateGuildOptions
= {}
Returns
Promise
<
Guild
>
delete
delete
(
id
:
string
)
:
Promise
<
void
>
Parameters
id:
string
Returns
Promise
<
void
>
fetch
fetch
(
id
:
string
, cache
?:
boolean
)
:
Promise
<
Guild
>
Parameters
id:
string
cache:
boolean
= false
Returns
Promise
<
Guild
>
get
get
(
id
:
string
)
:
undefined
|
Guild
Parameters
id:
string
Returns
undefined
|
Guild
leave
leave
(
id
:
string
)
:
Promise
<
void
>
Parameters
id:
string
Returns
Promise
<
void
>
map
map
(
fn
:
(
data
:
Guild
, key
:
string
, cache
:
Map
<
string
,
Guild
>
)
=>
any
)
:
any
[]
Parameters
fn:
(
data
:
Guild
, key
:
string
, cache
:
Map
<
string
,
Guild
>
)
=>
any
(
data
:
Guild
, key
:
string
, cache
:
Map
<
string
,
Guild
>
)
:
any
Parameters
data:
Guild
key:
string
cache:
Map
<
string
,
Guild
>
Returns
any
Returns
any
[]
remove
remove
(
id
:
string
)
:
void
Parameters
id:
string
Returns
void
remove
Many
remove
Many
(
ids
:
string
[]
)
:
void
Parameters
ids:
string
[]
Returns
void
resolve
resolve
(
data
:
any
)
:
undefined
|
Guild
Parameters
data:
any
Returns
undefined
|
Guild
update
update
(
data
:
Guild
)
:
Guild
Parameters
data:
Guild
Returns
Guild
Exports
Internals
Tokens
Externals
Types
Guild
Manager
constructor
__class
cache
client
size
add
add
Many
create
delete
fetch
get
leave
map
remove
remove
Many
resolve
update
Generated using
TypeDoc