summary refs log tree commit diff
path: root/util/src/entities
diff options
context:
space:
mode:
authorxnacly <matteogropp@protonmail.com>2021-09-03 21:40:02 +0200
committerxnacly <matteogropp@protonmail.com>2021-09-03 21:40:02 +0200
commitea29d368da59cd24be081f2e57218d8fd145c7e6 (patch)
tree143c21db8b3df38c96a862d0d00dda872716dadc /util/src/entities
parentRevert "added big todo list to Guild.ts (big chungus)" (diff)
downloadserver-ea29d368da59cd24be081f2e57218d8fd145c7e6.tar.xz
readded todos
Diffstat (limited to 'util/src/entities')
-rw-r--r--util/src/entities/Guild.ts37
1 files changed, 37 insertions, 0 deletions
diff --git a/util/src/entities/Guild.ts b/util/src/entities/Guild.ts
index 434699ac..14bf1637 100644
--- a/util/src/entities/Guild.ts
+++ b/util/src/entities/Guild.ts
@@ -16,6 +16,42 @@ import { Webhook } from "./Webhook";
 // TODO: guild_scheduled_events
 // TODO: stage_instances
 // TODO: threads
+// TODO: description
+// TODO: categories:
+// [{
+// 	"id": 16,
+// 	"name": {
+// 		"default": "Anime & Manga",
+// 		"localizations": {
+// 			"de": "Anime & Manga",
+// 			"fr": "Anim\u00e9s et mangas",
+// 			"ru": "\u0410\u043d\u0438\u043c\u0435 \u0438 \u043c\u0430\u043d\u0433\u0430"
+// 		}
+// 	},
+// 	"is_primary": false
+// }]
+// TODO:
+//  primary_category :{
+// 	id: 1,
+// 	name: {
+// 		default: "Gaming",
+// 		localizations: { de: "Gaming", fr: "Gaming", ru: "\u0418\u0433\u0440\u044b" },
+// 		is_primary: true,
+// 	},
+// };
+// TODO:
+// "keywords": [
+// 		"Genshin Impact",
+// 		"Paimon",
+// 		"Honkai Impact",
+// 		"ARPG",
+// 		"Open-World",
+// 		"Waifu",
+// 		"Anime",
+// 		"Genshin",
+// 		"miHoYo",
+// 		"Gacha"
+// 	],
 
 export const PublicGuildRelations = ["channels", "emojis", "members", "roles", "stickers", "voice_states"];
 
@@ -58,6 +94,7 @@ export class Guild extends BaseClass {
 
 	@Column({ type: "simple-array" })
 	features: string[]; //TODO use enum
+	//TODO: https://discord.com/developers/docs/resources/guild#guild-object-guild-features
 
 	@Column({ nullable: true })
 	icon?: string;