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

Code execution could be triggered with exclamation mark commands:

!hc or !holyc, e.g.:

!hc GodWord;
!holyc TaskRep;

You may use markdown code blocks with commands:

!hc 
```
I64 i;
for (i = 0; i < 0x10; i++) {
  "%x ", i;
}
```

Also the bot would capture HolyC code blocks, even without command specification:

Would you like the bot?

```holyc
switch (GodBits(24)%8) {
  case : "Yes"; break;
  case : "No"; break;
  case 2...4: "Probably"; break;
  case 5...7: "Not likely"; break;
}
```
Copyright © 2023 - 2025 Serhii Zasenko. All rights reserved