Androz2091 / Androz2091/discord-temp-channels
TypeError: parentChannel.options.childFormat is not a function
- Ngôn ngữ chính
- TypeScript
- Star
- 110
- Fork
- 24
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Trying to use the example shown in the README.md file, but I'm running into an error.
I updated some of the db stuff so it works with the latest version of quick.db, maybe that's the source of the error? I also added intents because thats what v13 needs.
When I start up the bot with a blank database (with temp-channels being set as an array already), it works just fine - set the main channel, join it, and it makes a temp channel. My error appears when I restart the bot, and try to join the hub channel again. It appears with: "TypeError: parentChannel.options.childFormat is not a function."
Odd though, if I delete the `channelData.options` in `tempChannels.registerChannel(channelData.channelID, channelData.options);`, it works *ok*, but it puts my id in the format `<@xxxxxxxxx>'s lounge`...
Can anyone help?

Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.