From 2b1daf60451778d48977b5f753d0023ec8220b18 Mon Sep 17 00:00:00 2001 From: Madpeter Date: Sun, 26 Apr 2020 00:03:02 +0100 Subject: [PATCH] redirects IM command to use the hooked version --- Core/Commands/Chat/im.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Commands/Chat/im.cs b/Core/Commands/Chat/im.cs index 8fb592d..870231b 100644 --- a/Core/Commands/Chat/im.cs +++ b/Core/Commands/Chat/im.cs @@ -18,7 +18,7 @@ namespace BSB.Commands.Chat { if (UUID.TryParse(args[0], out UUID target_av) == true) { - bot.GetClient.Self.InstantMessage(target_av, args[1]); + bot.sendIM(target_av, args[1]); return true; } else