mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-27 09:12:43 +02:00
Migrate to slash commands (#431)
Co-authored-by: Federico fuji97 Rapetti <fuji1097@gmail.com>
This commit is contained in:
parent
e883275d83
commit
56a469a999
51 changed files with 1270 additions and 1294 deletions
|
@ -25,25 +25,20 @@ model KeyValueCache {
|
|||
|
||||
model Setting {
|
||||
guildId String @id
|
||||
prefix String
|
||||
channel String?
|
||||
finishedSetup Boolean @default(false)
|
||||
playlistLimit Int @default(50)
|
||||
roleId String?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
model Shortcut {
|
||||
model FavoriteQuery {
|
||||
id Int @id @default(autoincrement())
|
||||
guildId String
|
||||
authorId String
|
||||
shortcut String
|
||||
command String
|
||||
name String
|
||||
query String
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
|
||||
@@index([shortcut], map: "shortcuts_shortcut")
|
||||
@@index([guildId], map: "shortcuts_guild_id")
|
||||
@@index([guildId, shortcut])
|
||||
@@unique([guildId, name])
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue