UNPKG
discord-components-v2-masteruse
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.0
A TypeScript/JavaScript package for simplified Discord.js component interactions.
discord-components-v2-masteruse
/
dist
/
components
/
DiscordClient.d.ts
8 lines
(7 loc)
•
274 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
Client
}
from
'discord.js'
;
export
declare
class
DiscordClient
{
client
:
Client
;
constructor
(
token
:
string
,
options
?:
ConstructorParameters
<
typeof
Client
>[
0
]
);
onInteraction
(
callback
:
(
interaction
:
any
) =>
void
):
void
;
get
raw
():
Client
<
boolean
>; }