- Python 3.10
- [프로필 편집] > [고급] > [개발자 모드] 활성화
- Applications -> New Application
- Bot -> Privileged Gateway Intents Presence Intent, Server Members Intent, Message Content Intent Enabled
- Bot -> Add Bot -> Yes Do It -> Reset Token
- OAuth2 Url Generator -> applications.commands
- General Information > APPLICATION ID, PUBLIC KEY
# 1st Deployment
sam build & sam deploy --guided --capabilities CAPABILITY_NAMED_IAM
# Update
sam build & sam deploy --no-confirm-changeset --no-disable-rollback --capabilities CAPABILITY_NAMED_IAM
# Register Command
pip install requests -t helpers && python helpers/register_commands.py
# mkdir -p layer/python
# pip install pynacl requests -t ./layer/python
# Zip layer/ -> layer.zip
pynacl
requests