summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorErkin Alp Güney <erkinalp9035@gmail.com>2022-04-22 23:03:36 +0300
committerGitHub <noreply@github.com>2022-04-22 23:03:36 +0300
commita1274f7129c15aca28af81470fa674ac05c85e9f (patch)
treef24df13c331d642f7ca918770f6c49afb65d4be0 /util
parentMerge pull request #734 from MaddyUnderStars/fix/sanitisation (diff)
downloadserver-a1274f7129c15aca28af81470fa674ac05c85e9f.tar.xz
text+voice code is already there
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/Channel.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/src/entities/Channel.ts b/util/src/entities/Channel.ts
index c516e6a1..98766a9d 100644
--- a/util/src/entities/Channel.ts
+++ b/util/src/entities/Channel.ts
@@ -357,7 +357,6 @@ export class Channel extends BaseClass {
 	isWritable() {

 		const disallowedChannelTypes = [

 			ChannelType.GUILD_CATEGORY,

-			ChannelType.GUILD_VOICE,		// TODO: Remove this when clients can send messages to voice channels on discord.com

 			ChannelType.GUILD_STAGE_VOICE,

 			ChannelType.VOICELESS_WHITEBOARD,

 		];