Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 2.22 KB

README.md

File metadata and controls

34 lines (21 loc) · 2.22 KB

LA HACKS 2021

ZoomAssist

A discord bot that integrates Zoom setup through the Discord chat interface

Installation Guide

Create a .env file that contains DISCORD_TOKEN, AUTHORIZATION (zoom), DISCORD_CHANNEL, and DISCORD_GUILD . Then create an app on zoom, and add your JWT token.

Due to lack of hosting, we cannot provide our discord token, so you may create your own bot application on discord and set that token as an environmental variable using our program.

To run, type python3 main.py in the terminal.

Command List

.setschedule OR .sets OR .changeschedule OR .changesched OR .setSchedule OR .setS to set the schedule for zoom meetings

!status to view the status of the meeting

!zoomschedule to view the current schedule

!zoomschedule + Class name to view all meeting times of a specific class

.setTime to set the default time for the Zoom meeting

!meeting to create a new Zoom meeting

.help + meeting OR setschedule OR schedule OR status to get help on how to use any of the commands in the topic

.setTime + time (in 00:00 format) to set the default time for meetings if user didn't specify what subject was scheduled in !meeting command

Issues We Ran into

We originally started out with a goal of creating a chat sync bot where it would sync the Zoom chat to the discord chat, and you could send messages to the chats by doing Zoom to Discord chat or Discord to Zoom chat. However, complications arose due to the fact that we did not have the proper authentication needed. We need OAUTH2 to access chat channels and get messages through the Zoom API, and this authentication is only provided if you submit an app to the Zoom marketplace. This requires a manual approval process from Zoom itself, and this would take time. This is similar to how you would submit an app to the Apple appstore. So we used JWT authentication instead, and found out that we were very limited in what we could do with the API with there being paid features or features that are locked to certain account types, so we settled on generating new meetings, and creating scheduling for said meetings.