Update Guild.ts
This commit is contained in:
parent
4baa6e0620
commit
26781e736c
@ -330,6 +330,7 @@ export class Guild extends BaseClass {
|
|||||||
}).save();
|
}).save();
|
||||||
|
|
||||||
// we have to create the role _after_ the guild because else we would get a "SQLITE_CONSTRAINT: FOREIGN KEY constraint failed" error
|
// 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({
|
await new Role({
|
||||||
id: guild_id,
|
id: guild_id,
|
||||||
guild_id: guild_id,
|
guild_id: guild_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user