1
0
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:
Flam3rboy 2021-05-27 12:20:29 +02:00
parent 4a4b93b767
commit 71c1d1c15f

View File

@ -76,10 +76,9 @@ const MessageComponent: any = {
custom_id: String,
url: String,
disabled: Boolean,
components: [Object],
};
MessageComponent.components = [MessageComponent];
export interface MessageComponent {
type: number;
style?: number;