From 4dbb55a72119a61033d2df6e8cf46f5eaa7bba15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20V=C3=A4=C3=A4r=C3=A4kangas?= Date: Sat, 12 Feb 2022 04:05:02 +0200 Subject: Configurable voice channel leave behavior (#514) Co-authored-by: Max Isom --- schema.prisma | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'schema.prisma') 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 { -- cgit v1.2.3