Add function handling for OpenAI model
for now it's querying only time, but in the future there will be more commands
This commit is contained in:
parent
bebef021fb
commit
0df05e2f06
4 changed files with 169 additions and 33 deletions
|
@ -8,12 +8,15 @@ datasource db {
|
|||
}
|
||||
|
||||
model Usage {
|
||||
timestamp DateTime @id
|
||||
@@id([timestamp, functionRan])
|
||||
timestamp DateTime
|
||||
user BigInt
|
||||
channel BigInt
|
||||
guild BigInt?
|
||||
usageReguest Int
|
||||
usageResponse Int
|
||||
functionName String?
|
||||
functionRan Int @default(0)
|
||||
}
|
||||
|
||||
model Limits {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue