- Install Node.JS
- Pull the project from github, or just download then extract the archive.
- Open a console (Command invite on windows, or terminal on linux), then go to the directory where you extracted the files. (cd "C:\the\directory")
- Type 'npm install'
- Edit the app.js file, especially the options variable. Fill in your credentials, the character your bot show as, and the room ID where the bot will go first. If you don't know how to get that room ID I'm talking about, just open F-chat, go into the room you want to bot in, type /openroom to open it, then /code to get the code. The usual format for the code is like this: 'ADH-xxxxxxxxxxxxxxxxxxxx'
- Type 'node app.js', and watch the bot appear in the room!
- By default, there aren't any plugins loaded. The !help command will show you which commands are available. !availableplugins will show the list of plugins in the /plugins folder. !loadplugin pluginname will load the plugin /plugins/pluginname.js Once the bot loads a plugin or joins a room, the bot will save and remember to connect to these rooms, and automatically load these plugins.
- Type '!loadplugin my_plugin' in the chat, and it will tell you which commands it has loaded.
- You should see that the !guide command has been added, so type it into the chat, and read its output.
- Once you have read it, you're ready to go!
-
Notifications
You must be signed in to change notification settings - Fork 0
vulpesfoxnik/XPbot2
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published