diff options
author | xnacly <matteogropp@protonmail.com> | 2021-09-03 21:33:44 +0200 |
---|---|---|
committer | xnacly <matteogropp@protonmail.com> | 2021-09-03 21:33:44 +0200 |
commit | 4a63e1560c07c938ec74f14e5076ec4e69de7ce6 (patch) | |
tree | 1ae493c750b6d0056e3ad0fa5ed2eedc568b8ed9 /util/src/entities/Guild.ts | |
parent | replace '@me' with req.user_id in guild join (diff) | |
download | server-4a63e1560c07c938ec74f14e5076ec4e69de7ce6.tar.xz |
added big todo list to Guild.ts (big chungus)
Diffstat (limited to 'util/src/entities/Guild.ts')
-rw-r--r-- | util/src/entities/Guild.ts | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/util/src/entities/Guild.ts b/util/src/entities/Guild.ts index 434699ac..027e99c7 100644 --- a/util/src/entities/Guild.ts +++ b/util/src/entities/Guild.ts @@ -16,7 +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"]; @Entity("guilds") @@ -58,6 +93,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; |