2023-08-17 21:29:08 +00:00
|
|
|
#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": [],
|
2023-08-19 21:09:51 +00:00
|
|
|
"actions": [
|
|
|
|
{
|
|
|
|
"result": ActionInteraction.ACCEPT,
|
2023-08-17 21:29:08 +00:00
|
|
|
"action_type": "action_type",
|
2023-08-19 21:09:51 +00:00
|
|
|
"data": ""
|
2023-08-17 21:29:08 +00:00
|
|
|
},
|
2023-08-19 21:09:51 +00:00
|
|
|
{}
|
2023-08-17 21:29:08 +00:00
|
|
|
|
2023-08-19 21:09:51 +00:00
|
|
|
]
|
2023-08-17 21:29:08 +00:00
|
|
|
}
|
|
|
|
|