Code Monkey home page Code Monkey logo

cwidabot's Introduction

Awesome-O CWI DA Bot Python application

This project is a chat-bot used to schedule meetings and whatnot. Right now awesome-o is only capable of scheduling meetings and giving reminders about them. But the sky is the limit.

Requirements

Python 3, DuckDB , Bottle must be installed and schedule. If you use pip as a package manager the following command should suffice:

pip3 install duckdb bottle schedule

Configuration File

  • $token - Replace this line with your bot's token
  • $group_id - This is the id where the bot should make the announcements
  • $bot_name - @bot_name, so we can filter the messages he should reply to if he is in a group
  • $default_zoom_madam - Link for default zoom madams
  • $default_zoom_fatal - Link for default zoom fatal
  • $sender_email - Email used to send calendar invitations
  • $password - Password for that email
  • $attendees - Email(s) that should get the invitation

Obs: chmod 600 the configuration file

Running

Be sure to first run create.py to create the current used schema. I use Ngrok to interact with Telegram's webhook. You just need to download it

./ngrok http <our_server_port>
(default)  ./ngrok http 8080

and set the webhook: https://api.telegram.org/bot<bot_token>/setWebHook?url=https://<forward_ngrok_url.ngrok.io/>

Contributing

I've made a list of issues that would be nice to have for this project. Right now is a one-day work kind of project, but we could use it for other tasks (e.g., scheduling Scilens usage, manage public group calendar, managing youtube/zoom/twitter channels).

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.