GithubHelp home page GithubHelp logo

tgjohnst / discord-calbot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 18 KB

A simple discord bot to poll scheduled events on a server/guild, convert them to ics, and push that ics to a consistent place

Python 100.00%
hacktoberfest

discord-calbot's Introduction

discord-calbot

A simple Discord bot to poll scheduled events on a server/guild, convert them to ics, and push that ics to a consistent place.

4/22/24: This project was never completed due to lack of implementation of the scheduled events API at the time I worked on it. Perhaps I'll come back to it in the future.

Approach

The scope of this bot is simply to maintain a consistently-updated ics file that guild members can subscribe to so that events appear on their calendar of choice with the correct time and description. At the time of its initial design, there is no intent to build in functionality for pushing calendar events back to discord, outputting to any other formats besides ics, filtering for specific subsets of events, etc.

The bot will run in python, using a client-polling approach and function wrappers. It will be hosted on (???). ical files will be output to (???) using (???).

Unfortunately, the scheduled events API is not fully implemented in discord.py, so there is no way to call the list_scheduled_events endpoint within that framework. We do that manually, following the example set by the Barmaid bot (see references below) and use discord.py for the rest of the bot functionality

Requirements

This bot was written with Python 3.10, and requires at least Python 3.7+. See requirements.txt for all other dependencies.

Installation and use

pip install -r requirements.txt

#TODO

Helpful references

https://realpython.com/how-to-make-a-discord-bot-python/

https://github.com/Fortex365/Barmaid/blob/main/barmaid/scheduled_events.py

discord-calbot's People

Contributors

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