Navibot Development Guide
Last modified
Complete guide for writing Lua plugins for the Navi Bot engine. Covers every API function, every data structure, and the patterns used in the real plugins that ship with the bot.
Sections
- Getting Started — How plugins work, plugin anatomy, load order, logging
- Configuration —
register_config, config types, lists, enums, reading values - Database — Key-value store, namespacing, get/set/query
- Commands & Interactions — Slash commands, message listeners, buttons, select menus, modals
- Messaging & Discord API — Sending messages, embeds, member/role/channel management, bot status
- Events & Timers — Inter-plugin event bus, Discord event callbacks, timed intervals
- Utilities — HTTP client, JSON, permissions
- Reference — Data types, common patterns, and pitfalls to avoid