Skip to content

10TeamPro/botProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8d29a1e · Dec 10, 2022
Dec 10, 2022
Nov 8, 2022
Dec 4, 2022
Dec 10, 2022
Dec 6, 2022
Nov 16, 2022
Nov 18, 2022
Nov 19, 2022
Nov 21, 2022
Nov 8, 2022
Nov 20, 2022
Nov 20, 2022
Dec 9, 2022
Dec 9, 2022

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