mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-12 05:27:19 +00:00
Organise all imports, make Mutes depend on Logs
This commit is contained in:
parent
b5ca59df8d
commit
addb614023
437 changed files with 1912 additions and 2027 deletions
|
@ -1,6 +1,6 @@
|
|||
import { readChannelPermissions } from "./readChannelPermissions";
|
||||
import { getMissingChannelPermissions } from "./getMissingChannelPermissions";
|
||||
import { GuildChannel, GuildMember } from "discord.js";
|
||||
import { getMissingChannelPermissions } from "./getMissingChannelPermissions";
|
||||
import { readChannelPermissions } from "./readChannelPermissions";
|
||||
|
||||
export function canReadChannel(channel: GuildChannel, member: GuildMember) {
|
||||
// Not missing permissions required to read the channel = can read channel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue