From 4a251d416df3bf5f2de1c3595254947000db32fa Mon Sep 17 00:00:00 2001 From: lexonegit Date: Thu, 22 Aug 2024 15:31:39 +0300 Subject: [PATCH] Improve alert descriptions --- Unity-Twitch-Chat/Assets/Package/Runtime/Extensions.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Unity-Twitch-Chat/Assets/Package/Runtime/Extensions.cs b/Unity-Twitch-Chat/Assets/Package/Runtime/Extensions.cs index cfb813c..a0e06b5 100644 --- a/Unity-Twitch-Chat/Assets/Package/Runtime/Extensions.cs +++ b/Unity-Twitch-Chat/Assets/Package/Runtime/Extensions.cs @@ -26,19 +26,19 @@ public static string GetDescription(this IRCReply alert) switch (alert) { case IRCReply.CONNECTED_TO_SERVER: - return "Connected"; + return "Connected to IRC"; case IRCReply.PONG_RECEIVED: return "Pong!"; case IRCReply.JOINED_CHANNEL: return "Joined channel"; case IRCReply.MISSING_LOGIN_INFO: - return "Missing login information"; + return "Missing login information (OAuth or username)"; case IRCReply.BAD_LOGIN: return "Login failed"; case IRCReply.CONNECTION_INTERRUPTED: - return "Connection interrupted"; + return "Connection to IRC interrupted"; case IRCReply.NO_CONNECTION: - return "Connection failed"; + return "Connection to IRC failed"; default: return "Unknown alert"; }