You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Daniel Grace edited this page Jan 8, 2016
·
2 revisions
The programming language in dndbtsbot is reminiscient of JavaScript, but explicitly lacks certain constructs such as unbounded loops.
Limitations
The language was made by me, and it is the first language I've ever tried to make. As a result it can be a tad temperamental and is probably not implemented in the best possible way.
The language does not allow you to actually get around the discord limitation of 2,000 character lines. The bot currently cannot/does not split messages for you, so if your bot tries to output more than 2,000 character it will simply fail.
The language does not have the best support for giving you sensible error messages. The errors it does give you require you to understand how the programming language works internally to actually understand. There's a page that explains how the language works if you want to go hardcore mode debugging.
Entering Programming Mode
Normal bot commands use ! to denote it as a bot command. When programming was added the bot needed a way to differentiate simple bot commands from programming. !! was chosen.