+ Fix Webhook + Add Separators messages
This commit is contained in:
@@ -10,7 +10,7 @@ using UnityEngine;
|
||||
[InitializeOnLoad]
|
||||
public static class SceneNotifier
|
||||
{
|
||||
private static readonly string WebhookUrl = "https://discord.com/api/webhooks/WEBHOOK_ID/WEBHOOK_TOKEN";
|
||||
private static readonly string WebhookUrl = "https://discord.com/api/webhooks/1486718530765328424/42mP_zYNTEwwBbc_lcuasPbpZppXoC4U14-Pde1YatdxatT5s9vml8lgQXTwAmm0PNe5";
|
||||
|
||||
private static readonly string UserName = Environment.UserName;
|
||||
private static readonly string MachineName = Environment.MachineName;
|
||||
@@ -65,6 +65,7 @@ public static class SceneNotifier
|
||||
OpenScenes[scenePath] = openedAt;
|
||||
|
||||
string message =
|
||||
$"---------------------\n"+
|
||||
$"🚧 **Scene Locked**\n" +
|
||||
$"👤 **{UserName}**\n" +
|
||||
$"💻 **{MachineName}**\n" +
|
||||
@@ -90,6 +91,7 @@ public static class SceneNotifier
|
||||
TimeSpan duration = closedAt - openedAt;
|
||||
|
||||
string message =
|
||||
$"---------------------\n" +
|
||||
$"🔓 **Scene Released**\n" +
|
||||
$"👤 **{UserName}**\n" +
|
||||
$"💻 **{MachineName}**\n" +
|
||||
@@ -119,6 +121,7 @@ public static class SceneNotifier
|
||||
TimeSpan duration = quitAt - openedAt;
|
||||
|
||||
string message =
|
||||
$"---------------------\n" +
|
||||
$"❌ **Unity Closed — Scene Auto-Released**\n" +
|
||||
$"👤 **{UserName}**\n" +
|
||||
$"💻 **{MachineName}**\n" +
|
||||
|
||||
Reference in New Issue
Block a user