# 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 on an IRC network.

## Key Features
- Manages channel settings such as autojoin, nicknames, and access levels.
- Provides command-line arguments to configure the bot.
- Supports automated responses to CTCP requests.
- Includes a variety of modules for different functionalities like dice rolling, factoids, karma tracking, and more.

## File Analysis
- **start.py** — Entry point of the bot, sets up argument parsing and initializes various components.
- **8ball.py** — Implements an 8-ball fortune-telling command.
- **accept_invite.py** — Handles accepting invites to channels on connected servers.
- **admin.py** — Provides administrative commands for changing nicknames and sending raw IRC commands.
- **auto_mode.py** — Manages channel modes based on user access levels.
- **badwords.py** — Tracks and manages bad words in a channel.
- **birthday.py** — Handles birthday-related commands, such as listing birthdays or checking dates.
- **bitcoin.py** — Fetches Bitcoin exchange rates from an API.
- **books.py** — Searches for book information using Google Books API.
- **bot_channel.py** — Sets the main bot channel on connection.
- **botlist.py** — Sends a predefined message when specific commands are received in a channel.
- **channel_access.py** — Manages user access levels and permissions within channels.
- **channel_op.py** — Implements spam protection for highlighting messages.
- **channel_save.py** — Handles saving channel settings on connection.
- **check_mode.py** — Configures required channel modes for command execution.
- **check_urls.py** — Checks URLs for malicious content using VirusTotal API.
- **coins.py** — Manages a virtual coin system with betting and lottery features.
- **config.py** — Manages configuration settings, including channel-specific settings.
- **ctcp.py** — Responds to CTCP requests on the server.
- **cve.py** — Fetches information about Common Vulnerabilities and Exposures (CVE) numbers from an API.
- **database_backup.py** — Backups database files at regular intervals.
- **define.py** — Provides definitions for words using Wordnik API.
- **dice.py** — Rolls dice with specified sides.
- **duckduckgo.py** — Fetches first result from DuckDuckGo search engine.
- **ducks.py** — Spawns ducks in channels based on user activity.
- **echo.py** — Echoes the received message back to the channel.
- **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 and settings.
- **format_activity.py** — Formats and logs various IRC events.
- **google.py** — Fetches first result from Google search engine.
- **greeting.py** — Sends a greeting message to users when they join the channel.
- **hash.py** — Hashes strings using various algorithms.
- **ids.py** — Provides user and channel ID information.
- **imdb.py** — Searches for movie or TV show information on IMDb.
- **imgur.py** — Fetches image details from Imgur.
- **in.py** — Sets reminders based on time input.
- **ip_addresses.py** — Resolves IP addresses to hostnames using DNS lookup.
- **ircv3_chathistory.py** — Implements CHAT history support for IRCv3.
- **ircv3_labeled_responses.py** — Supports labeled responses in IRCv3.
- **ircv3_message_tracking.py** — Tracks message IDs and timestamps in IRCv3.
- **ircv3_metadata.py** — Manages metadata capabilities in IRCv3.
- **ircv3_msgid.py** — Implements msgid support for IRCv3.
- **ircv3_resume.py** — Supports resuming sessions using STS (Session Token Security).
- **ircv3_server_time.py** — Tracks server time in IRCv3.
- **ircv3_sts.py** — Manages session token security policies.
- **karma.py** — Tracks and manages karma points for users.
- **lastfm.py** — Fetches last listened to tracks from a user on Last.fm.
- **location.py** — Sets and retrieves location information using OpenCage API.
- **mixed_unicode.py** — Detects scripts in text input.
- **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 commands.
- **print_activity.py** — Prints various IRC events in a formatted manner.
- **pronouns.py** — Manages user pronoun settings.