Servers: Add TextChannel.

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

View File

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