Discord Bot
About
Discord Bot has TempleOS Cloud bindings which allows to execute HolyC code.
In order to use the bot either install it to the discord server and send command to a channel, or send private message.
Commands
Commands could be run either in Text or Video mode. Text mode is similar to unix pipe execution. Video mode records screen.
Text Output
Code execution could be triggered with exclamation mark commands:
/hc or /holyc, e.g.:
/hc snippet:GodWord;
/holyc snippet:TaskRep;
You may run multi-line code as well:
/hc snippet: I64 i; for (i = 0; i < 0x10; i++) { "%x ", i; }
You may combine ask with random God decided answer:
/holyc ask:Would you like the bot? snippet:switch (GodBits(24)%8) { case : "Yes"; break; case : "No"; break; case 2...4: "Probably"; break; case 5...7: "Not likely"; break; }
Graphical Output
Capture result screenshot with /hcsc command:
/hcsc snippet: "Hello, World!\n";
Record video output using /hcdc command:
/hcdc snippet: U8 *w = "Hello, World!\n"; for (; *w != 0; w++) { PutChars(*w); Sleep(400); }
TOS Manual
Display source code of symbol using /hcman command:
/hcman symbol:Print
Copyright © 2023 - 2026 Serhii Zasenko. All rights reserved