Giter Club home page Giter Club logo

discord-webhook's Introduction

Requires files

.env

WEBHOOK_URL
EXCEL_URL
JIRA_URL
SPRINT_REVIEW_URL
VOICE_CHAT_ID
GOOGLE_API_KEY
DOC_ID

teamMembers.js

Пример

module.exports = {
    'Имя': '999999999999999',
}

Имя - строка из гугл таблицы (см. getDailyLead)
discord user id

promts.js

Пример

const getDailyLeadPromt = (dailyLeadName) => `
Есть сообщение: Сегодня дейли проводит <${dailyLeadName}>...
Сделай только одно продолжение в забавной форме.
Примеры:
Сегодня дейли проводит <Имя>... и он сказал, что у него есть сюрприз для команды. Надеемся, что это не еще одна встреча!
`

module.exports = { getDailyLeadPromt }

Функции

getDailyLead - загружает гугл док, который имеет 2 строки, верхняя строка для дат, нижняя для имён

A B C D E F G
1 25.09 26.09 27.09 28.09 29.09 30.09 01.10
2 Имя 1 Имя 2 Имя 3 Имя 4 Имя 5 Имя 6 Имя 7

pm2

pm2 start main.js --name acqhamster
pm2 restart acqhamster
pm2 stop acqhamster

discord-webhook's People

Contributors

rogozhinvladislav 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.