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

channel.isTextBased is not a function #9296

Closed
Theiremi opened this issue Mar 29, 2023 · 1 comment
Closed

channel.isTextBased is not a function #9296

Theiremi opened this issue Mar 29, 2023 · 1 comment

Comments

@Theiremi
Copy link

Which package is this bug report for?

discord.js

Issue description

The interaction constantly fail on my side with the error : TypeError: channel.isTextBased is not a function
The function in question is at the line 50 of this file

Code sample

//Only need to receive interactions from Discord for it to occur
import Discord from 'discord.js';
const client = new Discord.Client({
  intents: []
});
client.on('interactionCreate', async (interaction) => {});
client.login(TOKEN);

Package version

14.7.1

Node.js version

18.15.0

Operating system

Ubuntu 22.10

Priority this issue should have

High (immediate attention needed)

Which partials do you have configured?

No Partials

Which gateway intents are you subscribing to?

Guilds, GuildVoiceStates

I have tested this issue on a development release

No response

@Jiralite
Copy link
Member

Jiralite commented Mar 29, 2023

Duplicate of #9295.

@Jiralite Jiralite closed this as not planned Won't fix, can't repro, duplicate, stale Mar 29, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants