Skip to content

Commit 557f4e1

Browse files
committed
Added $roleHasPerms and $roleHasAnyPerms
1 parent 5c788f1 commit 557f4e1

File tree

134 files changed

+643
-373
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+643
-373
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
import { ArgType, NativeFunction } from "../../structures";
22
declare const _default: NativeFunction<[{
33
name: string;
4+
description: string;
45
rest: false;
56
required: true;
67
type: ArgType.Guild;
7-
description: string;
88
}, {
99
name: string;
1010
description: string;
1111
rest: false;
1212
type: ArgType.String;
13+
}, {
14+
name: string;
15+
description: string;
16+
rest: false;
17+
type: ArgType.Boolean;
1318
}], true>;
1419
export default _default;
1520
//# sourceMappingURL=guildRoleIDs.d.ts.map

dist/native/guild/guildRoleIDs.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/guild/guildRoleIDs.js

Lines changed: 17 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/guild/guildRoleIDs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/json/jsonAssign.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/json/jsonAssign.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/json/jsonAssign.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/json/jsonDelete.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/json/jsonDelete.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
import { ArgType, NativeFunction } from "../../structures";
2+
declare const _default: NativeFunction<[{
3+
name: string;
4+
description: string;
5+
rest: false;
6+
required: true;
7+
type: ArgType.Guild;
8+
}, {
9+
name: string;
10+
description: string;
11+
rest: false;
12+
required: true;
13+
type: ArgType.Role;
14+
pointer: number;
15+
}, {
16+
name: string;
17+
description: string;
18+
rest: true;
19+
required: true;
20+
type: ArgType.Enum;
21+
enum: {
22+
readonly CreateInstantInvite: bigint;
23+
readonly KickMembers: bigint;
24+
readonly BanMembers: bigint;
25+
readonly Administrator: bigint;
26+
readonly ManageChannels: bigint;
27+
readonly ManageGuild: bigint;
28+
readonly AddReactions: bigint;
29+
readonly ViewAuditLog: bigint;
30+
readonly PrioritySpeaker: bigint;
31+
readonly Stream: bigint;
32+
readonly ViewChannel: bigint;
33+
readonly SendMessages: bigint;
34+
readonly SendTTSMessages: bigint;
35+
readonly ManageMessages: bigint;
36+
readonly EmbedLinks: bigint;
37+
readonly AttachFiles: bigint;
38+
readonly ReadMessageHistory: bigint;
39+
readonly MentionEveryone: bigint;
40+
readonly UseExternalEmojis: bigint;
41+
readonly ViewGuildInsights: bigint;
42+
readonly Connect: bigint;
43+
readonly Speak: bigint;
44+
readonly MuteMembers: bigint;
45+
readonly DeafenMembers: bigint;
46+
readonly MoveMembers: bigint;
47+
readonly UseVAD: bigint;
48+
readonly ChangeNickname: bigint;
49+
readonly ManageNicknames: bigint;
50+
readonly ManageRoles: bigint;
51+
readonly ManageWebhooks: bigint;
52+
readonly ManageEmojisAndStickers: bigint;
53+
readonly ManageGuildExpressions: bigint;
54+
readonly UseApplicationCommands: bigint;
55+
readonly RequestToSpeak: bigint;
56+
readonly ManageEvents: bigint;
57+
readonly ManageThreads: bigint;
58+
readonly CreatePublicThreads: bigint;
59+
readonly CreatePrivateThreads: bigint;
60+
readonly UseExternalStickers: bigint;
61+
readonly SendMessagesInThreads: bigint;
62+
readonly UseEmbeddedActivities: bigint;
63+
readonly ModerateMembers: bigint;
64+
readonly ViewCreatorMonetizationAnalytics: bigint;
65+
readonly UseSoundboard: bigint;
66+
readonly CreateGuildExpressions: bigint;
67+
readonly CreateEvents: bigint;
68+
readonly UseExternalSounds: bigint;
69+
readonly SendVoiceMessages: bigint;
70+
readonly SendPolls: bigint;
71+
readonly UseExternalApps: bigint;
72+
readonly PinMessages: bigint;
73+
};
74+
}], true>;
75+
export default _default;
76+
//# sourceMappingURL=roleHasAnyPerms.d.ts.map

0 commit comments

Comments
 (0)