summary refs log tree commit diff
diff options
context:
space:
mode:
authorErkin Alp Güney <erkinalp9035@gmail.com>2022-01-12 10:19:05 +0300
committerGitHub <noreply@github.com>2022-01-12 10:19:05 +0300
commit8985ad1cf34b264c29c7df5a5cace8c04a561b5d (patch)
tree5ed43a9a1fe9f3a2400ac3482348ff075c9486d5
parentAdd cross channel replies (diff)
downloadserver-8985ad1cf34b264c29c7df5a5cace8c04a561b5d.tar.xz
Update Guild.ts
-rw-r--r--util/src/entities/Guild.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/src/entities/Guild.ts b/util/src/entities/Guild.ts
index f4c94a64..00f92679 100644
--- a/util/src/entities/Guild.ts
+++ b/util/src/entities/Guild.ts
@@ -330,6 +330,7 @@ export class Guild extends BaseClass {
 		}).save();
 
 		// we have to create the role _after_ the guild because else we would get a "SQLITE_CONSTRAINT: FOREIGN KEY constraint failed" error
+		// TODO: make the @everyone a pseudorole that is dynamically generated at runtime so we can save storage
 		await new Role({
 			id: guild_id,
 			guild_id: guild_id,