Yido
Yido
Explore posts from servers
KPCKevin Powell - Community
Created by Yido on 9/6/2024 in #front-end
Css, divs gets squeezed when used margin
No description
6 replies
KPCKevin Powell - Community
Created by Yido on 6/8/2024 in #front-end
Input not dissappearing
Was trying to make the input dissappear when the counter hit 0 but it doesnt work and nothing happens with it https://codepen.io/SirYido/pen/VwOzroq
31 replies
KPCKevin Powell - Community
Created by Yido on 6/1/2024 in #front-end
Progress bars value/width does not change with javascript (bootstrap)
i was trying to change the value or width (i dont know what to call it) of the bootstrap progress bar using onclick event but when i tried to change that nothing has happened so i tried to console log to see whats happening and i saw the width variable of the progress bar keeps returning as NaN. https://codepen.io/SirYido/pen/ExzWwPN
3 replies
DIAdiscord.js - Imagine an app
Created by Yido on 5/25/2024 in #djs-questions
the bot is not sending message when member joins
i've tried to making a event that when a user joins the server the bot will send a message but it doesnt seem to be doing anything or give any error. i have tried to console log to see if it detects the member joining but it also doesnt do that too
7 replies
KPCKevin Powell - Community
Created by Yido on 5/18/2024 in #front-end
Div opacity affecting the content in it
i lowered opacity of an div and now the image in the div also got opacity, i have used z-index: too but im still stuck on the same problem https://codepen.io/SirYido/pen/gOJPgxZ
5 replies
KPCKevin Powell - Community
Created by Yido on 4/13/2024 in #front-end
the a tag is not appearing
in the javascript code before i added text.innerHTML = "Hello world and welcome"; the username.innerHTML = name was working normally and now it does not. it just disappears unless i remove text.innerHTML = "Hello world and welcome";
6 replies
KPCKevin Powell - Community
Created by Yido on 4/13/2024 in #front-end
"declaration or statement excepted." problem
No description
32 replies
DIAdiscord.js - Imagine an app
Created by Yido on 4/9/2024 in #djs-questions
Whenever my slash command gets used for 2 times it gives an error
node:events:492
throw er; // Unhandled 'error' event
^

DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\Yiğit\Desktop\Catto\node_modules\@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\Yiğit\Desktop\Catto\node_modules\@discordjs\rest\dist\index.js:826:23)
at async _REST.request (C:\Users\Yiğit\Desktop\Catto\node_modules\@discordjs\rest\dist\index.js:1266:22)
at async ModalSubmitInteraction.reply (C:\Users\Yiğit\Desktop\Catto\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:111:5)
at async Client.<anonymous> (C:\Users\Yiğit\Desktop\Catto\events\suggestion_modal.js:38:21)
Emitted 'error' event on Client instance at:
at emitUnhandledRejectionOrErr (node:events:397:10)
at process.processTicksAndRejections (node:internal/process/task_queues:84:21) {
requestBody: {
files: [],
json: {
type: 4,
data: {
content: 'Your suggestion was received successfully!',
tts: false,
nonce: undefined,
embeds: undefined,
components: undefined,
username: undefined,
avatar_url: undefined,
allowed_mentions: undefined,
flags: 64,
message_reference: undefined,
attachments: undefined,
sticker_ids: undefined,
thread_name: undefined
}
}
},
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1227237570832891984/aW50ZXJhY3Rpb246MTIyNzIzNzU3MDgzMjg5MTk4NDpCOGhsWjY2ME43NXFUWEw1SFpCRkkwbjhXb2FQRUdnTlhFTnJMcmpvMHZFUzNFa3hTSDlHR2VUTmY3V0h0dEQyR2pUSVBOQU0zQ0NEZGhNc2JuckpOZVV4TVZYQkk2SjVrdXJQcnduMk10MWxKNGt4TG5Qc1ZRa2w3dkt2RG1EWQ/callback'
}

Node.js v20.10.0
node:events:492
throw er; // Unhandled 'error' event
^

DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\Yiğit\Desktop\Catto\node_modules\@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\Yiğit\Desktop\Catto\node_modules\@discordjs\rest\dist\index.js:826:23)
at async _REST.request (C:\Users\Yiğit\Desktop\Catto\node_modules\@discordjs\rest\dist\index.js:1266:22)
at async ModalSubmitInteraction.reply (C:\Users\Yiğit\Desktop\Catto\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:111:5)
at async Client.<anonymous> (C:\Users\Yiğit\Desktop\Catto\events\suggestion_modal.js:38:21)
Emitted 'error' event on Client instance at:
at emitUnhandledRejectionOrErr (node:events:397:10)
at process.processTicksAndRejections (node:internal/process/task_queues:84:21) {
requestBody: {
files: [],
json: {
type: 4,
data: {
content: 'Your suggestion was received successfully!',
tts: false,
nonce: undefined,
embeds: undefined,
components: undefined,
username: undefined,
avatar_url: undefined,
allowed_mentions: undefined,
flags: 64,
message_reference: undefined,
attachments: undefined,
sticker_ids: undefined,
thread_name: undefined
}
}
},
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1227237570832891984/aW50ZXJhY3Rpb246MTIyNzIzNzU3MDgzMjg5MTk4NDpCOGhsWjY2ME43NXFUWEw1SFpCRkkwbjhXb2FQRUdnTlhFTnJMcmpvMHZFUzNFa3hTSDlHR2VUTmY3V0h0dEQyR2pUSVBOQU0zQ0NEZGhNc2JuckpOZVV4TVZYQkk2SjVrdXJQcnduMk10MWxKNGt4TG5Qc1ZRa2w3dkt2RG1EWQ/callback'
}

Node.js v20.10.0
6 replies
DIAdiscord.js - Imagine an app
Created by Yido on 4/8/2024 in #djs-questions
i tried modals but it doesnt work
i got a few errors before then fixed them but now the modals dont work. and ı was following the guide, did i do something wrong? the error i was getting the "client is not defined" but now ı have fixed it
32 replies
DIAdiscord.js - Imagine an app
Created by Yido on 3/19/2024 in #djs-questions
i keep getting this error and i cannot find a solution
Error: Cannot find module 'discord.js'
Require stack:
- C:\Users\Yiğit\Desktop\marsh\index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
at Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (C:\Users\Yiğit\Desktop\marsh\index.js:1:47)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'C:\\Users\\Yiğit\\Desktop\\marsh\\index.js' ]
}
Error: Cannot find module 'discord.js'
Require stack:
- C:\Users\Yiğit\Desktop\marsh\index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
at Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (C:\Users\Yiğit\Desktop\marsh\index.js:1:47)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'C:\\Users\\Yiğit\\Desktop\\marsh\\index.js' ]
}
`
13 replies
KPCKevin Powell - Community
Created by Yido on 3/17/2024 in #back-end
My slash commands doesnt show up
No description
6 replies
KPCKevin Powell - Community
Created by Yido on 3/12/2024 in #front-end
Why does the eyes stand outside of the div and get pushed down?
No description
12 replies
KPCKevin Powell - Community
Created by Yido on 3/11/2024 in #front-end
Css animation keeps going down and up
The animation i made for a div class keeps going up and down while playing, is there a way to fix this?
5 replies
KPCKevin Powell - Community
Created by Yido on 3/10/2024 in #front-end
The other div not showing up
So i have created 2 divs in a class but one of them doesnt show up whatever i do
6 replies