fix(discord): show announcement channels in selection
This commit is contained in:

committed by
Ali BARIN

parent
3c9bc53a79
commit
06c9bf420e
@@ -19,8 +19,8 @@ export default {
|
|||||||
|
|
||||||
channels.data = response.data
|
channels.data = response.data
|
||||||
.filter((channel: IJSONObject) => {
|
.filter((channel: IJSONObject) => {
|
||||||
// filter in text channels only
|
// filter in text channels and announcement channels only
|
||||||
return channel.type === 0;
|
return channel.type === 0 || channel.type === 5;
|
||||||
})
|
})
|
||||||
.map((channel: IJSONObject) => {
|
.map((channel: IJSONObject) => {
|
||||||
return {
|
return {
|
||||||
|
Reference in New Issue
Block a user