Skip to content

shenqimolisha/katonei_bot

 
 

Repository files navigation

Katonei BOT

Telegram 隨機色圖 Bot(也可以不色)

  • /start 關於 Bot
  • /hentai 隨機色圖
  • /addpixiv PixivId 從Pixiv添加圖片
  • /addphoto 從Telegram添加圖片
  • /status Bot狀態
  • /addadmin 添加管理員(回復訊息)
  • /deladmin 刪除管理員(回復訊息)

環境

  • Node V14+
  • Mongo DB
  • imageMagick

Clone

需要先安裝 imageMagick 和 MongoDB

git clone https://github.com/ArsFy/katonei_bot.git
cd katonei_bot
npm i

Config

重新命名 config.example.jsonconfig.json

{
    "db_server": "127.0.0.1:27017", // MongoDB Server
    "db_name": "database",          // Database name
    "db_user": "username",          // Database Username
    "db_pass": "123456",            // Database Password
    "cookie": "",                   // Pixiv Cookie (enable R18)
    "bot_token": "123456:Abcdefghijklmn",   // Telegram Bot Token
    "bot": "@xxxx_bot",                     // Telegram Name
    "admin": []                             // Telegram Admin ID (Number)
}

Start

node main.js

About

telegram 隨機色圖 bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%