!752 answer { if "channel name" ret structure(getChannelName()); if (eq(getChannelName(), "devchannel, #talkingbots")) { S ts = getSlackTS(); int i = ts.indexOf('.'); if (i >= 0) ts = substring(ts, i+1); // shorter slack timestamp S theoryName = "tb." + getUserName() + "." + ts; addTheory(theoryName, s); } } static void addTheory(S name, S text) { print("addTheory => " + callOpt(getBot("#1002762"), "saveTheory", name, text, true)); }