MCPcopy Create free account
hub / github.com/Botloader/botloader / remove

Method remove

components/runtime/src/ts/discord/permissions.ts:202–204  ·  view source on GitHub ↗

* Returns a new set of permissions with the provided permissions removed * @param perms The permissions to remove. * @returns The resulting permissions.

(...perms: PermissionResolvable[])

Source from the content-addressed store, hash-verified

200 * @returns The resulting permissions.
201 */
202 remove(...perms: PermissionResolvable[]): Permissions {
203 return new Permissions(this.value & ~Permissions.resolve(...perms));
204 }
205
206 /**
207 * @returns The current permissions value as an array of strings.

Callers 12

permissions.tsFile · 0.80
inner_get_workerMethod · 0.80
worker_connectedMethod · 0.80
handle_worker_msgMethod · 0.80
runMethod · 0.80
wait_all_shutdownMethod · 0.80
try_unsuspend_guildMethod · 0.80
check_csrf_tokenMethod · 0.80
handle_eventMethod · 0.80

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected