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

TypeError: channel.isTextBased is not a function #9298

Closed
david-geisinger opened this issue Mar 29, 2023 · 1 comment
Closed

TypeError: channel.isTextBased is not a function #9298

david-geisinger opened this issue Mar 29, 2023 · 1 comment

Comments

@david-geisinger
Copy link

Which package is this bug report for?

discord.js

Issue description

We have been running an app where a user clicks a button and we process a simple interaction on our node server for several weeks. Today it seems to have broken and "TypeError: channel.isTextBased is not a function" is the error.

Steps to reproduce:

  1. Add a button to a discord channel
  2. Try to interact with the button from the backend by listening using
    client.on(Events.InteractionCreate, async (interaction) => {

Code sample

No response

Package version

14.7.1

Node.js version

18.15.0

Operating system

Linux

Priority this issue should have

High (immediate attention needed)

Which partials do you have configured?

Channel, Message, Reaction

Which gateway intents are you subscribing to?

Guilds, GuildMembers, GuildVoiceStates, GuildMessages, GuildMessageReactions

I have tested this issue on a development release

No response

@Jiralite
Copy link
Member

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