summary refs log tree commit diff
path: root/src/util/schemas/RoleModifySchema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/schemas/RoleModifySchema.ts')
-rw-r--r--src/util/schemas/RoleModifySchema.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/util/schemas/RoleModifySchema.ts b/src/util/schemas/RoleModifySchema.ts
new file mode 100644
index 00000000..d08a5022
--- /dev/null
+++ b/src/util/schemas/RoleModifySchema.ts
@@ -0,0 +1,11 @@
+
+export interface RoleModifySchema {
+	name?: string;
+	permissions?: string;
+	color?: number;
+	hoist?: boolean; // whether the role should be displayed separately in the sidebar
+	mentionable?: boolean; // whether the role should be mentionable
+	position?: number;
+	icon?: string;
+	unicode_emoji?: string;
+}