Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ Class | Method | HTTP request | Description
- [GuildProductPurchaseResponse](docs/GuildProductPurchaseResponse.md)
- [GuildPruneResponse](docs/GuildPruneResponse.md)
- [GuildResponse](docs/GuildResponse.md)
- [GuildRoleColorsResponse](docs/GuildRoleColorsResponse.md)
- [GuildRoleResponse](docs/GuildRoleResponse.md)
- [GuildRoleTagsResponse](docs/GuildRoleTagsResponse.md)
- [GuildStickerResponse](docs/GuildStickerResponse.md)
Expand Down
39 changes: 38 additions & 1 deletion api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* - **Copyright**: Copyright (c) 2025 Qntx
* - **Author**: ΣX <gitctrlx@gmail.com>
* - **Version**: 10
* - **Modified**: 2025-07-01T10:17:23.784586823Z[Etc/UTC]
* - **Modified**: 2025-07-05T02:42:23.045889949Z[Etc/UTC]
* - **Generator Version**: 7.14.0
*
* <details>
Expand Down Expand Up @@ -8369,6 +8369,31 @@ export interface GuildResponse {
*/
'public_updates_channel_id'?: string;
}
/**
*
* @export
* @interface GuildRoleColorsResponse
*/
export interface GuildRoleColorsResponse {
/**
*
* @type {number}
* @memberof GuildRoleColorsResponse
*/
'primary_color'?: number | null;
/**
*
* @type {number}
* @memberof GuildRoleColorsResponse
*/
'secondary_color'?: number | null;
/**
*
* @type {number}
* @memberof GuildRoleColorsResponse
*/
'tertiary_color'?: number | null;
}
/**
*
* @export
Expand Down Expand Up @@ -8423,12 +8448,24 @@ export interface GuildRoleResponse {
* @memberof GuildRoleResponse
*/
'mentionable': boolean;
/**
*
* @type {number}
* @memberof GuildRoleResponse
*/
'flags': number;
/**
*
* @type {string}
* @memberof GuildRoleResponse
*/
'description'?: string | null;
/**
*
* @type {GuildRoleColorsResponse}
* @memberof GuildRoleResponse
*/
'colors'?: GuildRoleColorsResponse | null;
/**
*
* @type {string}
Expand Down
2 changes: 1 addition & 1 deletion base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* - **Copyright**: Copyright (c) 2025 Qntx
* - **Author**: ΣX <gitctrlx@gmail.com>
* - **Version**: 10
* - **Modified**: 2025-07-01T10:17:23.784586823Z[Etc/UTC]
* - **Modified**: 2025-07-05T02:42:23.045889949Z[Etc/UTC]
* - **Generator Version**: 7.14.0
*
* <details>
Expand Down
2 changes: 1 addition & 1 deletion common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* - **Copyright**: Copyright (c) 2025 Qntx
* - **Author**: ΣX <gitctrlx@gmail.com>
* - **Version**: 10
* - **Modified**: 2025-07-01T10:17:23.784586823Z[Etc/UTC]
* - **Modified**: 2025-07-05T02:42:23.045889949Z[Etc/UTC]
* - **Generator Version**: 7.14.0
*
* <details>
Expand Down
2 changes: 1 addition & 1 deletion configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* - **Copyright**: Copyright (c) 2025 Qntx
* - **Author**: ΣX <gitctrlx@gmail.com>
* - **Version**: 10
* - **Modified**: 2025-07-01T10:17:23.784586823Z[Etc/UTC]
* - **Modified**: 2025-07-05T02:42:23.045889949Z[Etc/UTC]
* - **Generator Version**: 7.14.0
*
* <details>
Expand Down
24 changes: 24 additions & 0 deletions docs/GuildRoleColorsResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# GuildRoleColorsResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**primary_color** | **number** | | [optional] [default to undefined]
**secondary_color** | **number** | | [optional] [default to undefined]
**tertiary_color** | **number** | | [optional] [default to undefined]

## Example

```typescript
import { GuildRoleColorsResponse } from 'dc_rest';

const instance: GuildRoleColorsResponse = {
primary_color,
secondary_color,
tertiary_color,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
4 changes: 4 additions & 0 deletions docs/GuildRoleResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ Name | Type | Description | Notes
**hoist** | **boolean** | | [default to undefined]
**managed** | **boolean** | | [default to undefined]
**mentionable** | **boolean** | | [default to undefined]
**flags** | **number** | | [default to undefined]
**description** | **string** | | [optional] [default to undefined]
**colors** | [**GuildRoleColorsResponse**](GuildRoleColorsResponse.md) | | [optional] [default to undefined]
**icon** | **string** | | [optional] [default to undefined]
**unicode_emoji** | **string** | | [optional] [default to undefined]
**tags** | [**GuildRoleTagsResponse**](GuildRoleTagsResponse.md) | | [optional] [default to undefined]
Expand All @@ -32,7 +34,9 @@ const instance: GuildRoleResponse = {
hoist,
managed,
mentionable,
flags,
description,
colors,
icon,
unicode_emoji,
tags,
Expand Down
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* - **Copyright**: Copyright (c) 2025 Qntx
* - **Author**: ΣX <gitctrlx@gmail.com>
* - **Version**: 10
* - **Modified**: 2025-07-01T10:17:23.784586823Z[Etc/UTC]
* - **Modified**: 2025-07-05T02:42:23.045889949Z[Etc/UTC]
* - **Generator Version**: 7.14.0
*
* <details>
Expand Down