!7 !include once #1026298 // use JDA 4.0 // allow "cmd" construct set flag AllowMetaCode. meta-transformNow { tok_cmdStatement } standardBot1 TomiiBoiDiscordBot { S dbBotID = #1026409; init { if (myName == null) setField(myName := "Tomii"); preprocessAtSelfToMyName = true; escapeAtEveryone = true; } sync S processSimplifiedLine(S s, O... _) null { try answer super.processSimplifiedLine(s, _); O dbBot = eleu_getBot(dbBotID); if (dbBot == null) ret null with print("No DB bot found (" + dbBotID + ")"); ret call(dbBot, 'answer, s, "en"); } }