Servers: Add TextChannel.

This commit is contained in:
Paul committed 2021-06-01 20:38:35 +01:00
1 parent 6bb4501c52
commit 46bf5fcdd1
6 files changed
+45 -3

No files matched your search

+3
View File
@@ -81,6 +81,9 @@ impl<'a> PermissionCalculator<'a> {
Ok(0)
}
}
Channel::TextChannel { .. } => {
Ok(ChannelPermission::View + ChannelPermission::SendMessage)
}
}
}