mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
🐛 fix MessageComponent recursive definition
This commit is contained in:
parent
4a4b93b767
commit
71c1d1c15f
@ -76,10 +76,9 @@ const MessageComponent: any = {
|
|||||||
custom_id: String,
|
custom_id: String,
|
||||||
url: String,
|
url: String,
|
||||||
disabled: Boolean,
|
disabled: Boolean,
|
||||||
|
components: [Object],
|
||||||
};
|
};
|
||||||
|
|
||||||
MessageComponent.components = [MessageComponent];
|
|
||||||
|
|
||||||
export interface MessageComponent {
|
export interface MessageComponent {
|
||||||
type: number;
|
type: number;
|
||||||
style?: number;
|
style?: number;
|
||||||
|
Loading…
Reference in New Issue
Block a user