Giter VIP home page Giter VIP logo

kiwawa's Introduction

kiwawa

LINE/Discord 訊息同步機器人。一個機器人只能服務一組 LINE 群組/Discord 文字頻道,已知不支援 LINE 貼圖、跨平台標記(@)。

使用教學

一鍵部署

Deploy

總共有 6 個環境變數要設定:

LINEBOT_SECRET
LINEBOT_ACCESS_TOKEN
LOTIFY_TOKEN
DISCORDBOT_TOKEN
DISCORD_WEBHOOK
MESSAGE_CHANNEL_ID(可選)

LINE bot

建立 Messaging API,設定環境變數 LINEBOT_SECRETLINEBOT_ACCESS_TOKEN

LINE Notify

https://notify-bot.line.me/my/ => 發行權杖(權杖名稱是顯示在 【 】 中的文字)=> 設定環境變數 LOTIFY_TOKEN

Discord bot

https://discord.com/developers/applications => New Application => Bot => Add Bot => 往下拉設定權限 => Username 下方複製 token => 設定環境變數 DISCORDBOT_TOKEN

Discord webhook

Discord 伺服器 => 伺服器設定 => 整合 => 建立 Webhook => 複製 Webhook 網址 => 設定環境變數 DISCORD_WEBHOOK

Discord channel

Discord 伺服器 => 伺服器頻道 => 右鍵頻道 => 複製ID(需開啟開發者模式) => 設定環境變數 MESSAGE_CHANNEL_ID

Author

  • CA-Lee

Contributor

  • MirrorShih
  • BWsix(VFLC)

kiwawa's People

Contributors

ca-lee avatar mirrorshih avatar bwsix avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.