mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 20:52:42 +01:00
Update Guild.ts
This commit is contained in:
parent
4baa6e0620
commit
26781e736c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user