Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Replay cmd #554

Merged
merged 3 commits into from
May 17, 2024
Merged

Added Replay cmd #554

merged 3 commits into from
May 17, 2024

Conversation

aikoonee
Copy link
Contributor

@aikoonee aikoonee commented May 7, 2024

No description provided.

Signed-off-by: AikooNee <[email protected]>
@infnibor
Copy link
Contributor

infnibor commented May 7, 2024

An error was detected :) you haven't inserted the .js endings

Your

import { Command, Context, Lavamusic } from '../../structures/index';

Corrected

import { Command, Context, Lavamusic } from '../../structures/index.js';

Error indicating this:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/container/dist/structures/index' imported from /home/container/dist/commands/music/Replay.js
     at finalizeResolution (node:internal/modules/esm/resolve:264:11)
     at moduleResolve (node:internal/modules/esm/resolve:924:10)
     at defaultResolve (node:internal/modules/esm/resolve:1148:11)
     at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:390:12)
     at ModuleLoader.resolve (node:internal/modules/esm/loader:359:25)
     at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:234:38)
     at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:87:39)
     at link (node:internal/modules/esm/module_job:86:36) {
   code: 'ERR_MODULE_NOT_FOUND',
   url: 'file:///home/container/dist/structures/index'
}

@aikoonee
Copy link
Contributor Author

aikoonee commented May 8, 2024

An error was detected :) you haven't inserted the .js endings

Your

import { Command, Context, Lavamusic } from '../../structures/index';

Corrected

import { Command, Context, Lavamusic } from '../../structures/index.js';

Error indicating this:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/container/dist/structures/index' imported from /home/container/dist/commands/music/Replay.js
     at finalizeResolution (node:internal/modules/esm/resolve:264:11)
     at moduleResolve (node:internal/modules/esm/resolve:924:10)
     at defaultResolve (node:internal/modules/esm/resolve:1148:11)
     at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:390:12)
     at ModuleLoader.resolve (node:internal/modules/esm/loader:359:25)
     at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:234:38)
     at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:87:39)
     at link (node:internal/modules/esm/module_job:86:36) {
   code: 'ERR_MODULE_NOT_FOUND',
   url: 'file:///home/container/dist/structures/index'
}

Oh yes my mistake

Signed-off-by: AikooNee <[email protected]>
@appujet appujet merged commit 0469531 into appujet:main May 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants