v5.0.0
$modifyChannelPerms
Modifies a channel's permissions to the given perms
This function edit's the specified channels perms
1
$modifyChannelPerms[channelID;perm1;perm2;perm3;roleID/userID/$guildID]
Copied!
1
/*
2
TIP:
3
+ = Allow perms
4
- = Deny Perms
5
/ = Defaults the perm
6
*/
7
bot.command({
8
name: "modifyChannelPerms",
9
code: `Modified the channel permissions!
10
$modifyChannelPerms[773365032691040277;+sendmessages;-readmessages;/managemessages;$guildID]`
11
})
12
/*
13
This:
14
Allows send messages
15
Denies read messages
16
Defaults manage messages
17
for the whole guild
18
*/
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub