We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The core library
When trying to call GuildForumThreadManager.create() the following error is thrown (personal data redacted for privacy):
GuildForumThreadManager.create()
C:\Users\username\Documents\Git\discord-tests\node_modules\discord.js-selfbot-v13\src\managers\GuildForumThreadManager.js:88 data.attachments = attachmentsData; ^ ReferenceError: Cannot access 'data' before initialization at GuildForumThreadManager.create (C:\Users\username\Documents\Git\discord-tests\node_modules\discord.js-selfbot-v13\src\managers\GuildForumThreadManager.js:88:5) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Node.js v18.20.1
const { Client } = require('discord.js-selfbot-v13'); const client = new Client(); client.on('ready', async () => { console.log(`${client.user.username} is ready!`); client.guilds.fetch(guildID).then(guild => { guild.channels.fetch(channelID).then(channel => { console.log(`${channel.name} ${channel.type} ${channel.threads.cache.size}`) channel.threads.create({ name: "Test Title", autoArchiveDuration: 60, message: { content: "Test message contents" }, reason: 'Test reason' }).then(thread => { console.dir(thread) }) }) }) }) client.login(uToken);
3.1.4
18.20.1
Windows 11 Build 22631.3374
Medium (should be fixed soon)
I have a pending fix, be on the lookout for a pull request
The text was updated successfully, but these errors were encountered:
Issue aiko-chan-ai#1126 fix data initialization error
data
1cafa02
Merge pull request #1127 from sciencegirl100/main
5439577
Issue #1126 fix `data` initialization error
Closing this issue as the PR was merged
Sorry, something went wrong.
No branches or pull requests
Which package has the bugs?
The core library
Issue description
When trying to call
GuildForumThreadManager.create()
the following error is thrown (personal data redacted for privacy):Code sample
Package version
3.1.4
Node.js version
18.20.1
Operating system
Windows 11 Build 22631.3374
Priority this issue should have
Medium (should be fixed soon)
Checklist
Additional Information
I have a pending fix, be on the lookout for a pull request
The text was updated successfully, but these errors were encountered: