How el-reng/proyecto_2_nexa works
NEXA is a Discord assistant whose main workflow is: Discord messages reach the bot, keyword handling selects a response or reminder action, and the bot replies in the channel. Separately, startup launches loops for class, payment, and reminder notifications. The modular memory file holds keyword lists, user names, schedules, channel ID, and an in-process reminder list; it is not persistent storage. The README also describes broader automation and more natural interaction as goals, not implemented capabilities. Edges reflect the shown calls; no external database or other integration is evidenced.
Main entry points: main.py Bot lifecycle · memoria.py Bot reference data · comandos.py Keyword responses
Components 11
Bot runtime
- Bot lifecycle
main.py - Message router
main.py
Message interaction
- Keyword responses
comandos.py - Reminder entry
comandos.py
Scheduled notices
- Class notices
comandos.py - Payment notice
comandos.py - Reminder notices
comandos.py
In-memory data
- Reminder list
memoria.py - Bot reference data
memoria.py
Other components
- Discord user
- Discord platform
Connections 21
- Discord user → Discord platform: sends messages
- Discord platform → Message router: delivers events
main.py - Message router → Keyword responses: dispatches messages
main.py - Message router → Discord platform: processes commands
main.py - Keyword responses → Bot reference data: reads keywords and users
comandos.py - Keyword responses → Reminder entry: dispatches reminder requests
comandos.py - Keyword responses → Discord platform: sends replies
comandos.py - Reminder entry → Bot reference data: reads user names
comandos.py - Reminder entry → Reminder list: appends reminders
comandos.py - Bot lifecycle → Message router: registers message handler
main.py - Bot lifecycle → Class notices: starts task
main.py - Bot lifecycle → Payment notice: starts task
main.py - Bot lifecycle → Reminder notices: starts task
main.py - Class notices → Bot reference data: reads class schedule and channel
comandos.py - Class notices → Discord platform: sends notices
comandos.py - Payment notice → Bot reference data: reads channel
comandos.py - Payment notice → Discord platform: sends notice
comandos.py - Reminder notices → Bot reference data: reads channel
comandos.py - Reminder notices → Reminder list: reads and removes due reminders
comandos.py - Reminder notices → Discord platform: sends reminders
comandos.py - Bot lifecycle → Discord platform: connects and announces readiness
main.py