Skip to content

one-zero-eight/InNoHassle-MusicRoomBot

Repository files navigation

InNoHassle Music room bot

GitHub Actions pre-commit

Lines of Code Bugs Vulnerabilities

Table of contents

Did you know that GitHub supports table of contents by default 🤔

About

This is the Telegram bot for music room service in InNoHassle ecosystem.

Features

  • 🎵 Booking Music room
  • 📅 Schedule of Music room
  • 🔒 Roles and permissions

Technologies

Development

Getting started

  1. Install Python 3.11+

  2. Install Poetry

  3. Install project dependencies with Poetry.

    poetry install --no-root --with code-style
  4. Set up pre-commit hooks:

    poetry run pre-commit install --install-hooks -t pre-commit -t commit-msg
  5. Set up project settings file (check settings.schema.yaml for more info).

    cp settings.example.yaml settings.yaml

    Edit settings.yaml according to your needs.

Set up PyCharm integrations

  1. Ruff (plugin). It will lint and format your code. Make sure to enable Use ruff format option in plugin settings.
  2. Pydantic (plugin). It will fix PyCharm issues with type-hinting.
  3. Conventional commits (plugin). It will help you to write conventional commits.

Run for development

  1. Run the api service.
  2. Run the bot:
    python3 -m src.main