# Moon-Moon IRC Bot

**Category:** Standalone_Bot
**Original Author:** Charles Heywood

## Description
Moon-Moon is a standalone IRC bot written in Lua using MoonScript for its scripting language. It connects to an IRC server, manages channel membership and user interactions through various handlers and modules.

## Key Features
- Connects to an IRC server with configurable settings.
- Supports basic channel management including joining channels on connection.
- Implements logging functionality with color-coded output.
- Loads and runs plugins from the `plugins` directory as Lua scripts.
- Manages user data such as nicknames, usernames, and host information.

## File Analysis
- **compile.sh** — Compiles MoonScript files into Lua bytecode for execution.
- **start.sh** — Starts the bot by compiling necessary files and running the main script.
- **LICENSE** — MIT License granting permission to use and modify the software.
- **README.md** — Documentation on how to set up dependencies and run the bot.
- **irc.lua** — Core IRC connection logic including logging, user management, and command handling.
- **irc.moon** — MoonScript version of `irc.lua` for the same functionality.
- **logo** — ASCII art logo displayed when starting the bot.
- **main.lua** — Main entry point that loads plugins and configurations.
- **main.moon** — MoonScript version of `main.lua`.
- **base.lua** — Base configuration and handler functions for IRC operations.
- **base.moon** — MoonScript version of `base.lua`.
- **data.lua** — Data management and handling for user and channel information.
- **data.moon** — MoonScript version of `data.lua`.