=== HZ Bot Tiny For Discord ===
Contributors: heiblack
Donate link: https://heizhu.org/author/
Tags: discord, woocommerce
Requires at least: 6.4
Tested up to: 6.8
Stable tag: 0.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
A lightweight WooCommerce integration that sends order notifications to your Discord server and registers slash commands for quick store management.


== Description ==
HZ Bot Tiny For Discord – Your Smart WooCommerce Management Assistant

Designed specifically for e-commerce store owners to make order management more convenient than ever!

Real-time order notifications: Receive new order alerts anytime, anywhere, so you never miss a sales opportunity.

Quick order status updates: Change order statuses with simple commands to boost management efficiency.

Fast order lookups: Use intuitive commands to retrieve detailed order information, saving you precious time.

Let HZ Bot Tiny For Discord bring intelligent management upgrades to your WooCommerce store!


== External services ==
This plugin connects to the Discord API to:
1. Send order notifications as chat messages.
2. Register and clear slash commands in your Discord guild.
3. Handle customer interactions via Discord’s interaction endpoint.

**What data is sent?**  
- When an order is placed or updated, the plugin sends order ID, customer name, and order total to Discord.  
- When registering slash commands, the plugin sends your Discord Application ID and Guild ID.  
- Interaction callbacks send Discord’s interaction payload (command name, user ID, and any input options).

**When is data sent?**  
- Order notifications: immediately after the WooCommerce order status changes.  
- Slash command registration: on plugin activation (and when manually refreshed in settings).  
- Interaction handling: on every slash-command invocation.

**Service provider**  
Discord, Inc.  
- Terms of Service: https://discord.com/terms  
- Privacy Policy:    https://discord.com/privacy

== Installation ==
1. Upload the `hz-bot-tiny-for-discord` folder to `/wp-content/plugins/`.  
2. Activate the plugin through the “Plugins” screen in WordPress.  
3. Go to **WooCommerce → Settings → Discord** to configure your Application ID, Guild ID, and webhook channels.

== Changelog ==
= 0.0.1 =
* Initial release: basic order notifications and slash-command support.
