summary refs log tree commit diff
path: root/util/src/entities/Role.ts
diff options
context:
space:
mode:
authorChris Chrome <christophercookman@gmail.com>2022-01-05 05:44:14 -0500
committerGitHub <noreply@github.com>2022-01-05 13:44:14 +0300
commitaaf5df14e1523ef70fcb9aa5ff9fc0b73ff42fee (patch)
tree63c49b6d70dce0cfe70528d0e1aa2411c85b2d51 /util/src/entities/Role.ts
parentUpdate documents (diff)
downloadserver-aaf5df14e1523ef70fcb9aa5ff9fc0b73ff42fee.tar.xz
Add Role Icons (#574)
* Role Icons

Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com> 
*  Cache coherency rules

Co-authored-by: MANIKILLER <manikillrorg@gmail.com>
Co-authored-by: ImAaronFR <96433859+ImAaronFR@users.noreply.github.com>
Diffstat (limited to '')
-rw-r--r--util/src/entities/Role.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/src/entities/Role.ts b/util/src/entities/Role.ts

index 9fca99a5..4b721b5b 100644 --- a/util/src/entities/Role.ts +++ b/util/src/entities/Role.ts
@@ -36,6 +36,12 @@ export class Role extends BaseClass { @Column() position: number; + @Column({ nullable: true }) + icon: string; + + @Column({ nullable: true }) + unicode_emoji: string; + @Column({ type: "simple-json", nullable: true }) tags?: { bot_id?: string;