Deprecated: Use of "parent" in callables is deprecated in /var/www/html/forum/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php on line 431
  • If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN [Support] Adding a new line

Status
Not open for further replies.

BadassOverlord

Donor
is awesome!
Hi,

So I was making a quick script for the bot. Basically what it does is it looks for a chat command and replies to the person who used the command with some text. I'm trying to make a !help command that shows all the commands available to the bot, and as well how to upload/queue up songs.

The problem is, I can't figure out how to add a new line. What I have is basically this:
Code:
chatPrivate(ev.clientId, "test" + "/n" + "test")

But alas, no, it does not work. :(

Is there any way using this bot to add a new line? I really want to format my commands properly and I don't want to do separate messages for each line. It doesn't look good that way. :(

Thanks
 
Status
Not open for further replies.
Top