mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-12 01:34:51 +00:00
Return none for dev portal + todo for categories
This commit is contained in:
@@ -13,6 +13,7 @@ import { BaseClassWithoutId } from "./BaseClass";
|
||||
// },
|
||||
// "is_primary": false/true
|
||||
// }]
|
||||
// Also populate discord default categories
|
||||
|
||||
@Entity("categories")
|
||||
export class Categories extends BaseClassWithoutId { // Not using snowflake
|
||||
|
||||
@@ -270,6 +270,9 @@ export class Guild extends BaseClass {
|
||||
@Column({ nullable: true })
|
||||
nsfw?: boolean;
|
||||
|
||||
// only for developer portal
|
||||
permissions?: number;
|
||||
|
||||
static async createGuild(body: {
|
||||
name?: string;
|
||||
icon?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user