Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图做到这一点,所以如果有人输入 !changeme 它将输入 1 然后更改为 2
if (msg.Body.Equals("!changeme")) { msg.Chat.SendMessage("1"); msg.Body = "2";
它似乎没有将 1 更改为 2