Skip to content

buildで落ちる #3

@nenrinyear

Description

@nenrinyear
> 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

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions