testing schema file

main
Anorak_1 2023-08-17 23:29:08 +02:00
parent a00cb9977b
commit ae6a9053e3
1 changed files with 27 additions and 0 deletions

27
scheme.py 100644
View File

@ -0,0 +1,27 @@
#applications.db -> app_guildapp_db -> applications_blob
from action import Action, ActionInteraction
application_name: {
"app_id": "", # basically useless but hey its there
"resp_channel": "",
"questions": [],
"actions": {
"action_name": Action(ActionInteraction.ACCEPT).add_role(),
"action_name2": Action(ActionInteraction.DECLINE),
}
}
application_name: {
"app_id": "", # basically useless but hey its there
"resp_channel": "",
"questions": [],
"actions": {
"action_name": {
"action_type": "action_type",
},
"action_name2": Action()
}
}