Skip to content

Commit

Permalink
update: release v0.2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
POPPIN-FUMI committed Nov 13, 2023
1 parent 0889e86 commit 5bef69d
Show file tree
Hide file tree
Showing 29 changed files with 135 additions and 30 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lib/version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const VERSION = "0.2.11";
export declare const VERSION = "0.2.12";
105 changes: 105 additions & 0 deletions dist/types/discordRouterParams.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
export type DiscordRouterParams = {
app_permissions: string;
application_id: string;
channel: Channel;
channel_id: string;
data: CommandData | ActionData;
entitlement_sku_ids: string[];
entitlements: any[];
guild: Guild;
guild_id: string;
guild_locale: string;
id: string;
locale: string;
member: Member;
token: string;
type: number;
version: number;
};
export type Channel = {
flags: number;
guild_id: string;
id: string;
last_message_id: string;
name: string;
nsfw: boolean;
parent_id: string;
permissions: string;
position: number;
rate_limit_per_user: number;
topic: string | null;
type: number;
};
export type CommandData = {
guild_id: string;
id: string;
name: string;
options: CommandOption[];
type: number;
};
export type ActionData = {
component_type: number;
custom_id: string;
};
export type CommandOption = {
name: string;
value: string;
};
export type Guild = {
features: string[];
id: string;
locale: string;
};
export type Author = {
avatar: string;
avatar_decoration_data: any | null;
bot: boolean;
discriminator: string;
global_name: string | null;
id: string;
premium_type: number;
public_flags: number;
username: string;
};
export type Message = {
attachments: any[];
author: Author;
channel_id: string;
components: any[];
content: string;
edited_timestamp: string | null;
embeds: any[];
flags: number;
id: string;
mention_everyone: boolean;
mention_roles: string[];
mentions: any[];
pinned: boolean;
timestamp: string;
tts: boolean;
type: number;
};
export type Member = {
avatar: string | null;
communication_disabled_until: string | null;
deaf: boolean;
flags: number;
joined_at: string;
mute: boolean;
nick: string | null;
pending: boolean;
permissions: string;
premium_since: string | null;
roles: string[];
unusual_dm_activity_until: string | null;
user: User;
};
export type User = {
avatar: string;
avatar_decoration_data: any | null;
discriminator: string;
global_name: string;
id: string;
public_flags: number;
username: string;
};
2 changes: 1 addition & 1 deletion docs/functions/addRoleToUser.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/createPrivateChannel.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/createTextChannel.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/deferResponse.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/deleteChannel.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/deployCommands.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/discordChangeLog.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/getGuildMembers.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/getReleaseInfoAsJson.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/getUserRoles.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/isChannelExist.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/messageChannel.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/removeUserRole.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/updateResponse.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/interfaces/DiscordUser.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/interfaces/GuildMember.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/Channel.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/CommandData.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/CommandOption.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/Guild.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/InteractionParams.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/Member.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/ReleaseInfo.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/User.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@skeet-framework/discord-utils",
"version": "0.2.11",
"version": "0.2.12",
"description": "Skeet Framework Plugin - Discord Utils",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.2.11'
export const VERSION = '0.2.12'

0 comments on commit 5bef69d

Please sign in to comment.