public static void ChatMessageReceived(object sender, Message e) { if (e.Text.Trim() == ("{costs}")) { MainPatcher.TextChannel.SendMessageAsync(EventLookup.getBitCosts(), MainPatcher.cts); } }
public static void ChatMessageReceived(object sender, Message e) { Console.WriteLine("Received Chat Message"); if (e.Text.Trim() == ("{bit-costs}")) { MainPatcher.TextChannel.SendMessageAsync(EventLookup.getBitCosts(), MainPatcher.cts); } }