-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
> jihou-bot@0.1.0 build /home/ubuntu/jihou-bot
> tsc -p .
src/events/ready.ts:56:52 - error TS2339: Property 'send' does not exist on type 'DMChannel | PartialDMChannel | PartialGroupDMChannel | NewsChannel | StageChannel | TextChannel | PublicThreadChannel<...> | PrivateThreadChannel | VoiceChannel'.
Property 'send' does not exist on type 'PartialGroupDMChannel'.
56 const sent_message = await channel.send({
~~~~
src/events/ready.ts:64:52 - error TS2339: Property 'send' does not exist on type 'DMChannel | PartialDMChannel | PartialGroupDMChannel | NewsChannel | StageChannel | TextChannel | PublicThreadChannel<...> | PrivateThreadChannel | VoiceChannel'.
Property 'send' does not exist on type 'PartialGroupDMChannel'.
64 const sent_message = await channel.send(message);
~~~~
Found 2 errors in the same file, starting at: src/events/ready.ts:56
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working