Skip to content

bug: If a file named "ヘルプ.ts" is added to the "commands" folder, the bot fails to start. #460

@Lqm1

Description

@Lqm1

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

Although the exact cause could not be identified, when a file named "ヘルプ.ts" is added to the "commands" folder, the bot completely stops at "await client.login();", and no logs are displayed.

Steps To Reproduce

  1. npx sapphire new
  2. cd my-sapphire-bot
  3. npm run generate slashcommand ヘルプ
  4. npm run watch:start

Expected behavior

Bot starts normally.

Screenshots

No response

Additional context

No response

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (24) x64 Intel(R) Core(TM) i7-14650HX
    Memory: 640.49 MB / 15.71 GB
  Binaries:
    Node: 22.11.0 - C:\Program Files\nodejs\node.EXE
    npm: 11.0.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.15.0 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Chromium (131.0.2903.70)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions