Last active
July 3, 2020 10:32
-
-
Save camelgod/debe1881f4f5000537261bcc5977291a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add this to the list of commands in message-dispatch.js | |
// Write /note <whatever you want> to spawn a 2D image with the text | |
// Also discovered that this can be done without modification in normal hubs by CTRL+Enter or clicking Create button after writing something | |
case "note": | |
if (args[0]) { | |
const sentence = args.join(" "); | |
spawnChatMessage(sentence); | |
} | |
break; | |
// If you want the boxes to be a bit more clean in terms of text dissapearing, change maxCharsPerLine to 20 and add "hacky" padding by adding 4-5 spaces before newline in chat-message.js line 40 | |
outWords.push(" \n"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment