Skip to content

Instantly share code, notes, and snippets.

@Trao-X
Trao-X / DOCUMENTATION.md
Created July 4, 2026 15:12
Traosyst Tag System Documentation

Traosyst features a highly advanced, Assyst-inspired tag engine. Tags allow users to create custom commands with complex logic, math operations, and even sandboxed JavaScript execution.

Tags are strictly server-specific. A tag created in Server A will not leak into Server B.


Command Reference

The base command for all tag operations is .tag (or the alias .t).

const prepareGuildContext = async (id) => {
let ctx = {isPublic: false}
try {
const resp = await fetch(`https://discord.com/servers/${id}`)
const html = await resp.text()
const isPublic = !/<title(?:.*?)>Page Not Found \| Discord<\/title>/g.test(html)
if(isPublic) {
const match = html.match(/<script(?: nonce=".*?")>window.__PRELOADED_STATE__ = ({.*?})(?:;?)<\/script>/)
if (match) {
const {serverPage: s} = JSON.parse(match[1])