static long gazelle_contextToMsgID(S s) { new Matches m; if (startsWith(s, "discord msg ", m)) ret parseLong(m.rest()); if (startsWith(s, "slack ", m)) ret parseLong(m.rest().replace(".", "")); ret 0; }