GithubHelp home page GithubHelp logo

david-ziegler / telegrameventbot Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 10.0 143 KB

Telegram bot to create events in groups. Anyone in the telegram group can create and RSVP to events.

TypeScript 96.39% Shell 3.61%

telegrameventbot's People

Contributors

danigb avatar david-ziegler avatar dependabot[bot] avatar serl avatar toggor avatar volodymyrlut avatar weng112 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

telegrameventbot's Issues

Attached image prevents bot from creating event-style post

If I attach an image to the message starting with '/event', the bot doesn't create an event-style post.

Instead the message is shown verbatim, with the '/event' string rendered like a link, blue and underlined. It appears as if the event command is just ignored in that case.

Idea: let users attend for a certain role

For hosting dance lessons and parties, you want an even mix of leaders and followers. If there was a way to let users specify which role they were signing up for, that would be sick

Show participants as links rather than text

Some users have usernames that don't say their name. When such a user is in the participants-list, it's hard to know who it is.

Possible Solution
Show participants' names as links to the user rather than text. This way telegram automatically shows the name in case one has that user in the phone's address list.

Repost event

Please add a command to repost the same event with attendees.

Show number of participants or maximum number of participants

Sometimes events have a maximum number of participants. It would be good to be able to see when this number is reached.

Solution 1

Enumerate the participants:

Zusagen:
1. Peter
2. Anna
3. Max

Solution 2

Specify the maximum number of participants and show a waiting list:

Zusagen:
Peter
Anna

Warteliste:
Max

One possibility to implement this is to specify the maximum number of events in the same message that creates the event: /event Hallo, blablabla /maximum 2.

When someone under "Zusagen" cancels, then someone from the waiting list can move up to the first list.

Solution 3

Show the current total number of participants (also if it exceeds the maximum number).

Zusagen (3):
Peter
Anna
Max

Add a +1 button

Sometimes people come with their friends or family, who might not be part of the group. Therefor it would be helpful if we would have a +1 button either as a toggle or counter (and maybe a -1 button then as well?).

In attendant list it could be displayed like follows:

Zusagen (6):
Josh
Lisa +1
Mike
Jane +2

Alternatively we could make the "Zusagen" and "doch nicht" buttons behave counting up and down (e.g. the first click on "Zusagen" shows only the name and on second click it add a +1 behind the name).

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.