aboutsummaryrefslogtreecommitdiff
path: root/schema.prisma
diff options
context:
space:
mode:
authorJohannes Vääräkangas <[email protected]>2022-02-12 04:05:02 +0200
committerGitHub <[email protected]>2022-02-11 20:05:02 -0600
commit4dbb55a72119a61033d2df6e8cf46f5eaa7bba15 (patch)
treec23bfee7a2c18a18ac8536a6b31e0e22eb1d9c6e /schema.prisma
parent8e5b3cfa432abc4b3e2ef76a139da2586ccb1213 (diff)
downloadmuse-4dbb55a72119a61033d2df6e8cf46f5eaa7bba15.tar.xz
muse-4dbb55a72119a61033d2df6e8cf46f5eaa7bba15.zip
Configurable voice channel leave behavior (#514)
Co-authored-by: Max Isom <[email protected]>
Diffstat (limited to 'schema.prisma')
-rw-r--r--schema.prisma12
1 files changed, 7 insertions, 5 deletions
diff --git a/schema.prisma b/schema.prisma
index 66ea3b7..5b4e898 100644
--- a/schema.prisma
+++ b/schema.prisma
@@ -24,11 +24,13 @@ model KeyValueCache {
}
model Setting {
- guildId String @id
- playlistLimit Int @default(50)
- roleId String?
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
+ guildId String @id
+ playlistLimit Int @default(50)
+ secondsToWaitAfterQueueEmpties Int @default(30)
+ leaveIfNoListeners Boolean @default(true)
+ roleId String?
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
}
model FavoriteQuery {