fix(discord): show announcement channels in selection

This commit is contained in:
AnimatedSwine37
2023-06-25 20:40:09 +10:00
committed by Ali BARIN
parent 3c9bc53a79
commit 06c9bf420e

View File

@@ -19,8 +19,8 @@ export default {
channels.data = response.data
.filter((channel: IJSONObject) => {
// filter in text channels only
return channel.type === 0;
// filter in text channels and announcement channels only
return channel.type === 0 || channel.type === 5;
})
.map((channel: IJSONObject) => {
return {