# BitBot IRC Bot

**Category:** Standalone_Bot
**Original Author:** Unknown

## Description
BitBot is a standalone IRC bot written in Python that provides various commands and features for managing channels, users, and automating tasks.

## Key Features
- Manages channel settings such as mode, access levels, and invite handling.
- Provides command-line arguments to configure the bot.
- Implements user-level permissions and commands.
- Supports joining specified channels on connection.
- Includes a variety of modules for different functionalities like dice rolling, factoids, and Google searches.

## File Analysis
- **start.py** — Entry point script with command-line argument parsing and module imports.
- **8ball.py** — Command to generate random responses similar to an 8-ball.
- **accept_invite.py** — Handles accepting invites from other users.
- **admin.py** — Admin commands for changing nickname, sending raw IRC data, and parting channels.
- **auto_mode.py** — Manages channel modes based on user access levels.
- **badwords.py** — Lists and adds bad words to be filtered in the current channel.
- **birthday.py** — Handles birthday-related commands.
- **bitcoin.py** — Fetches Bitcoin exchange rates.
- **books.py** — Searches for book information using Google Books API.
- **bot_channel.py** — Sets a main bot channel on connection.
- **botlist.py** — Sends a predefined message when certain commands are received.
- **channel_access.py** — Manages user access levels in channels.
- **channel_op.py** — Handles highlighting and spam protection based on channel modes.
- **channel_save.py** — Saves the list of auto-joined channels.
- **check_mode.py** — Sets low and high access channel modes.
- **check_urls.py** — Checks URLs for malicious content using VirusTotal API.
- **coins.py** — Implements a betting system with various commands.
- **config.py** — Manages configuration settings for the bot.
- **ctcp.py** — Responds to CTCP requests.
- **cve.py** — Fetches information about CVE numbers from the CIRCL database.
- **database_backup.py** — Backups the database at regular intervals.
- **define.py** — Retrieves definitions of words using Wordnik API.
- **dice.py** — Rolls dice with specified sides and count.
- **duckduckgo.py** — Fetches first result from DuckDuckGo search.
- **ducks.py** — Spawns ducks in the channel based on user messages.
- **echo.py** — Echoes the input received.
- **eval_lua.py** — Evaluates Lua code using an online service.
- **eval_python.py** — Evaluates Python code using an online service.
- **eval_rust.py** — Evaluates Rust code using an online service.
- **factoids.py** — Manages factoid commands.
- **format_activity.py** — Formats and logs activity in channels.
- **google.py** — Fetches first result from Google search.
- **greeting.py** — Sends a greeting message to users on joining the channel.
- **hash.py** — Hashes strings using various algorithms.
- **ids.py** — Displays user and channel IDs.
- **imdb.py** — Searches for movie or TV show information using OMDB API.
- **imgur.py** — Retrieves image details from Imgur.
- **in.py** — Sets reminders based on time input.
- **ip_addresses.py** — Resolves IP addresses to hostnames.
- **ircv3_chathistory.py** — Manages chat history with message IDs.
- **ircv3_labeled_responses.py** — Implements labeled responses for IRCv3.
- **ircv3_message_tracking.py** — Tracks messages and their delivery status.
- **ircv3_metadata.py** — Sets metadata for the bot on the server.
- **ircv3_msgid.py** — Manages message IDs in channels.
- **ircv3_resume.py** — Implements resuming sessions with STS policy.
- **ircv3_server_time.py** — Manages server time synchronization.
- **ircv3_sts.py** — Implements Server Time Stamping (STS).
- **karma.py** — Tracks and manages karma points for users.
- **lastfm.py** — Retrieves last listened to tracks from a user on Last.fm.
- **location.py** — Sets and retrieves the bot's location using OpenCage API.
- **mixed_unicode.py** — Detects scripts in Unicode text.
- **modules.py** — Manages loading and unloading of modules.
- **nick_regain.py** — Ensures the bot regains its nickname after connection.
- **nickserv.py** — Identifies with NickServ using a password.
- **nr.py** — Fetches train information from National Rail API.
- **perform.py** — Executes predefined commands on connection.
- **pong.py** — Responds to ping with pong.
- **print_activity.py** — Prints formatted activity in channels.
- **pronouns.py** — Manages user pronouns.