{"id":16334641,"url":"https://github.com/pta2002/paib2","last_synced_at":"2025-09-04T18:26:08.887Z","repository":{"id":94209862,"uuid":"103765249","full_name":"pta2002/paib2","owner":"pta2002","description":"An extensible IRC bot","archived":false,"fork":false,"pushed_at":"2017-09-16T16:06:22.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-26T19:28:02.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pta2002.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-16T16:05:59.000Z","updated_at":"2017-09-16T16:06:23.000Z","dependencies_parsed_at":"2023-07-27T05:45:39.025Z","dependency_job_id":null,"html_url":"https://github.com/pta2002/paib2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pta2002%2Fpaib2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pta2002%2Fpaib2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pta2002%2Fpaib2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pta2002%2Fpaib2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pta2002","download_url":"https://codeload.github.com/pta2002/paib2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239358815,"owners_count":19625548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T23:38:56.702Z","updated_at":"2025-02-17T20:22:19.753Z","avatar_url":"https://github.com/pta2002.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paib 2.0\n\nThis is a complete rewrite of [paib](https://github.com/pta2002/paib/).\n\nThis is solely the bot's core, hoping to separate core and plugins better.\n\n## Changes from 1.0\n - Completely rewritten in node\n - Hopefully better API\n - Built-in logger\n - Plugins can be distributed as NPM packages\n\n# Usage\n```bash\n$ git clone https://github.com/pta2002/paib2\n\n$ npm install # Or yarn, if you use it\n\n$ node paib.js\n```\n\nThis will run a bot named 'paib2' and connect to the #bottest channel on afternet,\nwith a sample plugin.\n\n## Configuration\n\nConfiguration is done by editing the `config.js` file.\n\nThis file is just a JS module that exports a configuration object.\n\n```js\nmodule.exports = {\n    nick: 'yournick',\n    server: {\n        address: 'irc.example.com',\n        port: 6697,\n        secure: true\n    },\n    username: 'mybot',\n    realname: 'An IRC bot',\n    debug: false,\n    channels: ['#chan1', '#chan2'],\n    commandPrefix: '~',\n    plugins: [\n        // Require plugins as needed...\n        require('plugin1'),\n        require('plugin2')\n    ],\n    // node-irc options https://node-irc.readthedocs.io/en/latest/API.html#events\n    other: {\n        selfSigned: true\n    }\n}\n```\n\n## Making a plugin\nThere's currently an example plugin in `plugins/example.js`\n\n# LICENSE\n```\nCopyright (c) 2017 Pedro Alves\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpta2002%2Fpaib2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpta2002%2Fpaib2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpta2002%2Fpaib2/lists"}