Gatti
Gatti
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
I stated multiple times that it was tested on same channel, same channel id. One person got that reminder in the channel other didnt, and they dont the reminder command in the same channel
23 replies
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
I just used the post method /channels/{channelId}/messages
23 replies
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
I put there console log, to show the error and this is what i got: Failed to fetch channel DiscordAPIError[50001]: Missing Access
23 replies
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
yeah i realized that after i sent this, but in this context it doesnt really matter
23 replies
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
But, I managed to fix it by not using functions from discordjs and rather made function that directly using discord API to send the message to the channel
23 replies
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
In the other part Im running that function only on one shard
23 replies
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
But how can it be missing access when its same channel that it accessed before?
23 replies
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
Okay after some investigation, I got this as error: Failed to fetch channel DiscordAPIError[50001]: Missing Access
23 replies
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
I just tried it and it doesnt work
23 replies
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
or if i dont use the broadcast eval function at all and directly fetch the channel will it work?
23 replies
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
but as I said the problem is shards sometimes fetch the channel and sometimes dont. And we talking about same channel
23 replies
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
This DMing user is just if the channel fetching fails for example, if the bot doesnt have permission or other things
23 replies
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
But looking at it right now, this isnt really what i wanted. This createDM works only for DMs am i wrong? What I wanted is to send the reminder into the channel where reminder was created using channel ID
23 replies
DIAdiscord.js - Imagine an app
Created by Gatti on 3/7/2025 in #djs-questions
Problem with channel fetching
thanks ill check it out
23 replies