Starter kit for kBotify bots
- Create a
auth.ts
under.../src/configs
, using the template intemplate-auth.ts
. Replace the security strings based on your bot. e.g.: - Make sure the mode in
.../src/init/clients.ts
is consistant with your bot's mode. - Under kBotify-template (the directory that you see package.json and package-lock.json), run
npm install
in console. - Run
npm start
in console under the same directory as step 3. If you haveCannot find module 'ts-node/register'
error, see this page to troubleshoot. - Then your bot, which should be already added to your server, should go online now.
- Send
.echo
in your Kaiheila channel like a regular chat message; the bot will respond you.