Update Guild.ts

This commit is contained in:
Erkin Alp Güney authored and GitHub committed 2022-01-12 10:19:05 +03:00
1 parent 4082ed2784
commit 8985ad1cf3
1 file changed
+1
+1
View File
@@ -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,