DiscordApplicationBot/scheme.py

30 lines
679 B
Python
Raw Normal View History

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