Giter Site home page Giter Site logo

heitang / hackersir-meetcreate Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 4.23 MB

社團會議自動生成

License: GNU Affero General Public License v3.0

JavaScript 89.87% GLSL 10.13%
google-apps-script apps-script google-spreadsheet google-form line-notify discord-webhook hackersir

hackersir-meetcreate's Introduction

HackerSir X MeetCreate

使用者填完會議表單後,自動在行事曆上生成事件,並且在 Line Notify 和 Discord 上公告。

功能

  • 自動在 Google Calendar 生成一個會議事件。
  • 自動在 Line Notify 和 Discord 公告會議訊息。

使用方法

  1. 首先,建立會議表單(格式請參考:https://forms.gle/kN1mf7z5N8u3bXkVA)。

  2. 從表單中生成 Google Sheet,並將工作表命名為「會議列表」。

    因程式是抓取表單中的相對位置,所以請確保格式與此試算表相同。

    若自定義「工作表名稱」,需修改 main.gs

    var sheet_List = Meet.getSheetByName('會議列表');
    
  3. 選擇試算表中「工具」的「指令碼編輯器」,並將 main.gsconfig.js 複製進去並存檔。

  4. 修改 config.js。

    // Line Notify 、 Discord Webhook
    LineNotifyToken = 'YOUR_LINENOTIFY_TOKEN';
    DiscordWebhookToken = 'YOUR_DISCORD_WEBHOOK_TOKEN';
    
    // Google Sheet 會議列表
    GoogleSheetId_Meetlist = 'YOUR_MEET_SHEET_Id';
    // Google Sheet 通訊錄
    GoogleSheetId_Contactlist = 'YOUR_CONTACT_SHEET_Id';
    
    // Google Calendar
    GoogleCalendarId = 'YOUR_CALENDAR_Id';
    
  5. 選擇「觸發條件」點選「新增觸發條件」。

    執行的功能 部署作業 活動來源 時間型觸發條件類型
    onOpen 上端 試算表 文件開始時
    addEvents 上端 試算表 提交表單時

DEMO

hackersir-meetcreate's People

Contributors

heitang avatar

Stargazers

 avatar

Watchers

 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.