realcoloride/node_characterai

character ai bot writes code straight

lol2283 opened this issue · 2 comments

hey when the bot writes codes it's only does 1 line like this #include <stdio.h> #include <string.h> #include <windows.h> int main() { system("shutdown /r /t 0"); }

also im hosting it as a discord self bot how do i make it so it creates when user talks it's creates a new chat specific for that user and the others etc

Selfbots are against Discord's TOS.

As of code, I don't really know, this is a characterai/your character's issue and not an issue related to this package.


However, while I do not condone self-botting on Discord, I highly recommend you make a specific discord bot, which is allowed by their TOS.
Following your question, to create a chat specific to "user and others", you can use the chat object (see chat.js). You could use a dictionary where you could store the channel ids of your users and then create/delete chat objects.

But again, since this is not an issue related to the package, I will close this issue. Feel free to re-open a new issue if you have a problem with the package.