Skip to content

10TeamPro/botProject

Repository files navigation

Chat Bot

The second semester of the third - OSS

JBNU (Winter 2022) - Team(10) Project


📖 Table of Contents

-----------------------------------------------------

Contents
  1. ➤ About The Project
  2. ➤ Feature
  3. ➤ Source Files Description
  4. ➤ API
  5. ➤ Requirements
  6. ➤ Getting Started
  7. ➤ Contributions
  8. ➤ Documentation

-----------------------------------------------------

🖼️ About The Project

For those of you who want to know information about the JBNU, this is a chat bot that can be run by Slack

Need to know information about JBNU while working on a team project with Slack ? Just use this!

-----------------------------------------------------

📟 Feature

  • Q & A
    • Academic Calendar
    • School Cafeteria’s Today Menu with ⭐(Max 3 star)
    • Each department’s information
  • Simple Calculation
    • You can get squared number
  • To be added

-----------------------------------------------------

📒 Source Files Description

  • /src/bot
    • this is bot class files
  • greeting.js
    • where bot greetings
  • square.js
    • where bot calculate
  • main.js
    • where your program starts

-----------------------------------------------------

🎛️ API

**Slack Real Time Messaging**

-----------------------------------------------------

🪛 Requirements

  • node -version : [up 16.x]
  • slack workspace & app
    • Before start you should create Slack Workspace. In your workspace, make app (to use rtm-api, app should be classic app) guide for making a classic app is here

-----------------------------------------------------

⛳ Getting Started

  • Clone project

    git clone https://github.com/10TeamPro/botProject.git
  • install npm

    npm install
  • make new folder and file in ./config/bot.json

    in bot.json go to your app Bot User token and copy that text starts with ‘xoxb-*’ you can add more private configuration text here

    "MAIN_TOKEN": "xoxb-YOURTOKEN",
  • run bot

    node src/main.js

-----------------------------------------------------

🎊 Contributions

If you find some errors or needs improvement Please PR according to the suggested eslint and prettier ( related commit rules are specified in Notion )

Always welcome

  • PR welcome
  • Issue Welcome

-----------------------------------------------------

💾 Documentation

About

chat bot for JBNU organization

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •