{"repo":"qwe321qwe321qwe321/Unity-DiscordWebhook","free":true,"listed":false,"github":"https://github.com/qwe321qwe321qwe321/Unity-DiscordWebhook","clone":"git clone https://github.com/qwe321qwe321qwe321/Unity-DiscordWebhook.git","description":"Send messages and files to Discord channels using webhooks. It provides a simple API for sending text messages, capturing and attaching screenshots, and even compressing and attaching log files for bug reports.","language":"C#","stars":32,"topics":["discord","unity"],"license":"MIT","category":"game-templates","readme_excerpt":"Unity-DiscordWebhook Unity-DiscordWebhook is a library that allows you to easily send messages and files to Discord channels using webhooks. It provides a simple API for sending text messages, capturing and attaching screenshots, and even compressing and attaching log files for bug reports. Features Sending messages and create posts/threads to text channels and forums. Builder pattern for creating a message. Awaitable API with UniTask Unity Coroutine and EditorCoroutine API. (IEnumerator and callback) A few Discord Bot API to query the server and channel information. See DiscordBotApi.cs. Helper methods for creating a bug report. Attach files by file path or byte array. Attach images by Texture2D. Capture and attach screenshots by setting a flag. Compress all attached files to a zip file by setting a flag. Get the message URL after sending a message. Table of Contents - Setup - Requirement - Installation - Getting Started - Send a message to a text channel - Create a post in a forum with screenshots and log files - How do I get tag IDs from the forum? - Use Cases Setup Requirement (Optional) Cysharp/UniTask We recommend using UniTask for asynchronous programming. However, you can use the library without it, we provide Unity Coroutine API as well. If your UniTask is not installed from Unity Package Manager, add the scripting define symbol DISCORD WEBHOOK UNITASK SUPPORT to Project Settings. Installation Install via Unity Package Manager. Getting Started Send a message to a tex","default_branch":null,"files":null,"tree":[],"storefront":"/r/qwe321qwe321qwe321","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/qwe321qwe321qwe321/Unity-DiscordWebhook/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}