Code Monkey home page Code Monkey logo

fhaachenmensabot's Introduction


  • Studying Computer Science @ FH Aachen University of Applied Science
  • 19 Years old
  • Living in Aachen, Germany
  • Currently working for the "Information Technology Systems" Lab for Prof. Dr. Andreas Claßen at the FH Aachen

Currently Working On

Languages

Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge

Frameworks

Static Badge


My Alltime Coding Stats

From: 13 January 2024 - To: 11 September 2024

Total Time: 38 hrs 14 mins

Vue.js       14 hrs 47 mins  >>>>>>>>>>---------------   38.66 %
PHP          6 hrs 23 mins   >>>>---------------------   16.70 %
Python       5 hrs 6 mins    >>>----------------------   13.33 %
Dart         3 hrs 21 mins   >>-----------------------   08.77 %
YAML         1 hr 28 mins    >------------------------   03.84 %
Markdown     1 hr 17 mins    >------------------------   03.39 %
C++          1 hr 12 mins    >------------------------   03.17 %
Bash         1 hr 4 mins     >------------------------   02.81 %
JSON         57 mins         >------------------------   02.51 %
TypeScript   52 mins         >------------------------   02.28 %

My Weekly Coding Stats

From: 04 September 2024 - To: 11 September 2024

Total Time: 0 secs

No activity tracked

Current Spotify Top Tracks


People I Admire


More Information



Last Updated: 21.07.2023

fhaachenmensabot's People

Contributors

cainytheslave avatar dependabot[bot] avatar philpinsdorf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

fhaachenmensabot's Issues

Only send meal once

I don't know if it's possible but it would be nice if the bot recognises that the user already requested the meal and the automatic meal reminder will not be send in this context.

Example:
I use /today at 9 am. The bot sends the alert at 11:30 am but i already "know" the meal of that day.

Add day selection

Add the possibility to select the dates for which the notifications should be send.

Allow multiple cantines

Allow to send multiple cantines via auto message to allow sending both cantines from the Eupener Straße because the cantine in the C building will be open soon.

Suggestion: Allergy flags

Add the "allergy" flags to the meals and maybe allow to setup allergies and let the bot automatically filter unsuitable meals out.

Bug: Blocking the bot resolves in crash

/app/node_modules/telegraf/lib/core/network/client.js:291
            throw new error_1.default(data, { method, payload });
                  ^
TelegramError: 403: Forbidden: bot was blocked by the user
    at Telegram.callApi (/app/node_modules/telegraf/lib/core/network/client.js:291:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  response: {
    ok: false,
    error_code: 403,
    description: 'Forbidden: bot was blocked by the user'
  },
  on: {
    method: 'sendMessage',
    payload: {
      chat_id: USER_ID_REMOVED,
      parse_mode: 'MarkdownV2',
      text: 'Guten Tag USER_NAME_REMOVED!\n' +
        'Heute* gibt es in der Mensa Eupener Straße:* \n' +
        '\n' +
        '\n' +
        '*Vegetarisch:*\n' +
        'Gemüse\\-Tofu\\-Jambalaya dazu Reis für 2,20 €\n' +
        '\n' +
        '*Klassiker:*\n' +
        'Calamares im Backteig dazu Aioli für 2,80 €\n' +
        '\n' +
        '*Tellergericht:*\n' +
        'Kaiserschmarrn mit Puderzucker und Apfelkompott für 1,60 €\n' +
        '\n' +
        '\n' +
        '*Hauptbeilagen*:\n' +
        'Lyoner Kartoffeln oder \\| Reis\n' +
        '\n' +
        '*Nebenbeilage*:\n' +
        'Kaisergemüse oder Mischsalat'
    }
  }
}

Wechseln der Mensa

Wählt man die Mensa und wählt die Mensa aus, welche vorher ausgewählt war, so sagt der Bot trotzendem, dass die Mensa gewechselt wurde.

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.