tgEasy's Official Assistant Bot and Example Bot

Overview

tgEasy Assistant

The assistant bot that helps people with tgEasy directly on Telegram.

This repository contains the source code of @tgEasyRobot and the instructions for running a copy yourself. Feel free to explore the source code to learn more about these topics.

Requirements

Run

  1. git clone https://github.com/DivideProjects/tgEasyAssistant, to download the source code.
  2. cd tgEasyAssistant, to enter the directory.
  3. python3 -m venv venv && . venv/bin/activate to create and activate a virtual environment.
  4. pip install -U -r requirements.txt, to install the requirements.
  5. Create a new .env file, copy-paste the following and replace the values with your own:
    API_ID = 12345
    API_HASH = 0123456789abcdef0123456789abcdef
    BOT_TOKEN = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
    LOGS = 777000
    
  6. Run with python -m assistant.
  7. Stop with CTRL+C and deactivate the virtual environment.

License

GNU General Public Licence v3.0 Only, (C) 2021 Jayant Hegde Kageri

Comments
  • Sourcery refactored master branch

    Sourcery refactored master branch

    Branch master refactored by Sourcery.

    If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

    See our documentation here.

    Run Sourcery locally

    Reduce the feedback loop during development by using the Sourcery editor plugin:

    Review changes via command line

    To manually merge these changes, make sure you're on the master branch, then run:

    git fetch origin sourcery/master
    git merge --ff-only FETCH_HEAD
    git reset HEAD^
    

    Help us improve this pull request!

    opened by sourcery-ai[bot] 1
  • Bump fastify/github-action-merge-dependabot from 3.3.1 to 3.3.2

    Bump fastify/github-action-merge-dependabot from 3.3.1 to 3.3.2

    Bumps fastify/github-action-merge-dependabot from 3.3.1 to 3.3.2.

    Release notes

    Sourced from fastify/github-action-merge-dependabot's releases.

    v3.3.2

    What's Changed

    Full Changelog: https://github.com/fastify/github-action-merge-dependabot/compare/v3...v3.3.2

    Commits
    • 8241569 Release v3.3.2 (#281)
    • 1b6fe43 chore(deps): bump actions-toolkit from 3837971 to d61a561 (#279)
    • 5e095a5 chore(deps-dev): bump eslint from 8.23.1 to 8.24.0 (#278)
    • b29cfa7 chore(deps): bump @​actions/github from 5.0.3 to 5.1.0 (#277)
    • 198e113 chore(deps): bump actions-toolkit from fef631d to 3837971 (#275)
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 0
  • Bump aiohttp from 3.8.1 to 3.8.3

    Bump aiohttp from 3.8.1 to 3.8.3

    Bumps aiohttp from 3.8.1 to 3.8.3.

    Release notes

    Sourced from aiohttp's releases.

    3.8.3

    .. attention::

    This is the last :doc:aiohttp <index> release tested under Python 3.6. The 3.9 stream is dropping it from the CI and the distribution package metadata.

    Bugfixes

    • Increased the upper boundary of the :doc:multidict:index dependency to allow for the version 6 -- by :user:hugovk.

      It used to be limited below version 7 in :doc:aiohttp <index> v3.8.1 but was lowered in v3.8.2 via :pr:6550 and never brought back, causing problems with dependency pins when upgrading. :doc:aiohttp <index> v3.8.3 fixes that by recovering the original boundary of < 7. (#6950)


    3.8.2 (2022-09-20, subsequently yanked on 2022-09-21)

    .. note::

    This release has some compatibility fixes for Python 3.11 but it may still have some quirks. Some tests are still flaky in the CI.

    .. caution::

    This release has been yanked from PyPI. Modern pip will not pick it up automatically. The reason is that is has multidict < 6 set in the distribution package metadata (see :pr:6950). Please, use aiohttp ~= 3.8.3, != 3.8.1 instead, if you can.

    Bugfixes

    • Added support for registering :rfc:OPTIONS <9110#OPTIONS> HTTP method handlers via :py:class:~aiohttp.web.RouteTableDef. (#4663)
    • Started supporting :rfc:authority-form <9112#authority-form> and :rfc:absolute-form <9112#absolute-form> URLs on the server-side. (#6227)
    • Fixed Python 3.11 incompatibilities by using Cython 0.29.25. (#6396)
    • Extended the sock argument typing declaration of the

    ... (truncated)

    Changelog

    Sourced from aiohttp's changelog.

    3.8.3 (2022-09-21)

    .. attention::

    This is the last :doc:aiohttp <index> release tested under Python 3.6. The 3.9 stream is dropping it from the CI and the distribution package metadata.

    Bugfixes

    • Increased the upper boundary of the :doc:multidict:index dependency to allow for the version 6 -- by :user:hugovk.

      It used to be limited below version 7 in :doc:aiohttp <index> v3.8.1 but was lowered in v3.8.2 via :pr:6550 and never brought back, causing problems with dependency pins when upgrading. :doc:aiohttp <index> v3.8.3 fixes that by recovering the original boundary of < 7. [#6950](https://github.com/aio-libs/aiohttp/issues/6950) <https://github.com/aio-libs/aiohttp/issues/6950>_


    3.8.2 (2022-09-20, subsequently yanked on 2022-09-21)

    Bugfixes

    • Support registering OPTIONS HTTP method handlers via RouteTableDef. [#4663](https://github.com/aio-libs/aiohttp/issues/4663) <https://github.com/aio-libs/aiohttp/issues/4663>_

    • Started supporting authority-form and absolute-form URLs on the server-side. [#6227](https://github.com/aio-libs/aiohttp/issues/6227) <https://github.com/aio-libs/aiohttp/issues/6227>_

    • Fix Python 3.11 alpha incompatibilities by using Cython 0.29.25 [#6396](https://github.com/aio-libs/aiohttp/issues/6396) <https://github.com/aio-libs/aiohttp/issues/6396>_

    • Remove a deprecated usage of pytest.warns(None) [#6663](https://github.com/aio-libs/aiohttp/issues/6663) <https://github.com/aio-libs/aiohttp/issues/6663>_

    • Fix regression where asyncio.CancelledError occurs on client disconnection. [#6719](https://github.com/aio-libs/aiohttp/issues/6719) <https://github.com/aio-libs/aiohttp/issues/6719>_

    • Export :py:class:~aiohttp.web.PrefixedSubAppResource under :py:mod:aiohttp.web -- by :user:Dreamsorcerer.

      This fixes a regression introduced by :pr:3469. [#6889](https://github.com/aio-libs/aiohttp/issues/6889) <https://github.com/aio-libs/aiohttp/issues/6889>_

    • Dropped the :class:object type possibility from the :py:attr:aiohttp.ClientSession.timeout property return type declaration. [#6917](https://github.com/aio-libs/aiohttp/issues/6917) <https://github.com/aio-libs/aiohttp/issues/6917>_,

    ... (truncated)

    Commits
    • 30b7a4e Add a yanking caution message to v3.8.2 changelog
    • 1827944 Stop including an empty changelog draft in Sphinx
    • 58a4733 Mention that v3.8.2 has been yanked
    • 13f50f9 Move the Python 3.6 attention box to v3.8.3
    • cb20fd2 Bump aiohttp to v3.8.3
    • 50203c4 Increase the upper boundary of the multidict dependency allowing v6
    • ee5e951 Merge branch 'release/v3.8.2' into 3.8
    • 3ef9cab Bump the hardcoded version to v3.8.2.post0.dev0
    • 99c8d0d Brush up the changelog wording for v3.8.2
    • a56b31c Add a note about Python 3.6 in the changelog
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 0
  • Bump fastify/github-action-merge-dependabot from 3.3.0 to 3.3.1

    Bump fastify/github-action-merge-dependabot from 3.3.0 to 3.3.1

    Bumps fastify/github-action-merge-dependabot from 3.3.0 to 3.3.1.

    Release notes

    Sourced from fastify/github-action-merge-dependabot's releases.

    v3.3.1

    What's Changed

    Full Changelog: https://github.com/fastify/github-action-merge-dependabot/compare/v3...v3.3.1

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 0
  • Bump fastify/github-action-merge-dependabot from 3.2.4 to 3.3.0

    Bump fastify/github-action-merge-dependabot from 3.2.4 to 3.3.0

    Bumps fastify/github-action-merge-dependabot from 3.2.4 to 3.3.0.

    Release notes

    Sourced from fastify/github-action-merge-dependabot's releases.

    v3.3.0

    Important notes

    From this release, providing a github token input parameter becomes optional. When not supplied, the action will automatically use the default one provided to the workflow execution.

    What's Changed

    New Contributors

    Full Changelog: https://github.com/fastify/github-action-merge-dependabot/compare/v3...v3.3.0

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 0
  • Bump fastify/github-action-merge-dependabot from 3.0.0 to 3.2.4

    Bump fastify/github-action-merge-dependabot from 3.0.0 to 3.2.4

    Bumps fastify/github-action-merge-dependabot from 3.0.0 to 3.2.4.

    Release notes

    Sourced from fastify/github-action-merge-dependabot's releases.

    v3.2.4

    What's Changed

    Full Changelog: https://github.com/fastify/github-action-merge-dependabot/compare/v3...v3.2.4

    v3.2.3

    What's Changed

    New Contributors

    Full Changelog: https://github.com/fastify/github-action-merge-dependabot/compare/v3...v3.2.3

    v3.2.2

    What's Changed

    Full Changelog: https://github.com/fastify/github-action-merge-dependabot/compare/v3...v3.2.2

    v3.2.1

    What's Changed

    ... (truncated)

    Commits
    • 3bc99e0 Release v3.2.4 (#266)
    • 7e34bcd chore(deps-dev): bump eslint from 8.22.0 to 8.23.0 (#263)
    • 527c260 chore(deps): bump actions-toolkit from c74e1ae to 0c46170 (#262)
    • cd0ff97 feat: use dropdown for semver selection in release workflow (#261)
    • 34c5e42 Release v3.2.3 (#260)
    • 64a2b98 fix: check that the author is defined when comparing it with dependab… (#258)
    • 5ff5a73 chore(deps): bump actions-toolkit from cbb5848 to c74e1ae (#257)
    • 79c610d Release v3.2.2 (#256)
    • a0b8aac chore(deps): bump @​actions/core from 1.9.0 to 1.9.1 (#255)
    • edbdfb6 chore(deps-dev): bump eslint from 8.21.0 to 8.22.0 (#254)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 0
Owner
Divide Projects™
A simple open source projects orgainisation
Divide Projects™
SI_EXPLAINER_tg_bot: This bot is an assistant for medical professionals in interpreting the results of patient clustering.

SI_EXPLAINER_tg_bot This bot is an assistant for medical professionals in interpreting the results of patient clustering. ABOUT This chatbot was devel

Alexander Kanonirov 1 Jan 21, 2022
An example Music Bot written in Disnake and uses slash commands to operate.

Music Bot An example music bot that is written in Disnake [Maintained discord.py Fork] Disnake Disnake is a maintained and updated fork of discord.py.

null 6 Jan 8, 2022
Cities bot - A simple example of using aiogram and the wikipedia package

Cities game A simple example of using aiogram and the wikipedia package. The bot

Artem Meller 2 Jan 29, 2022
An example of using discordpy 2.0.0a to create a bot that supports slash commands

DpySlashBotExample An example of using discordpy 2.0.0a to create a bot that supports slash commands. This is not a fully complete bot, just an exampl

null 7 Oct 17, 2022
Example of a discord bot in Python

discordbot.py Example of a discord bot in Python Requirements Python 3.8 or higher Discord Bot Setting Up Clone this repo or download the files Rename

Debert Jamie 1 Oct 23, 2021
Ross Virtual Assistant is a programme which can play Music, search Wikipedia, open Websites and much more.

Ross-Virtual-Assistant Ross Virtual Assistant is a programme which can play Music, search Wikipedia, open Websites and much more. Installation Downloa

Jehan Patel 4 Nov 8, 2021
Home Assistant custom integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, officially maintained by the Tuya Developer Team.

Tuya Home Assistant Integration Home Assistant custom integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, officially mainta

Tuya 704 Jan 3, 2023
Home Assistant for Opendata CWB. Get the weather forecast of the city in Taiwan.

Home assistant support for Opendata CWB. The readme in Traditional Chinese. This integration is based on OpenWeatherMap (@csparpa, pyowm) to develop.

null 11 Sep 30, 2022
Replacement for the default Dark Sky Home Assistant integration using Pirate Weather

Pirate Weather Integrations This integration is designed to replace the default Dark Sky integration in Home Assistant with a slightly modified, but f

Alexander Rey 129 Jan 6, 2023
👾 Telegram Smart Group Assistant 🤖

DarkHelper ?? Features ⚡️ Smart anti-apam & anti-NFSW message checker Tag Members , Entertain facility , Welcommer ban , unban , mute , unmute , lock

amirali rajabi 38 Dec 18, 2022
Home Assistant Hilo Integration via HACS

BETA This is a beta release. There will be some bugs, issues, etc. Please bear with us and open issues in the repo. Hilo Hilo integration for Home Ass

null 66 Dec 23, 2022
This is the repository for HalpyBOT, the Hull Seals IRC Chatbot Assistant.

HalpyBOT 1.4.2 This is the repository for HalpyBOT, the Hull Seals IRC Chatbot Assistant. Description This repository houses all of the files required

The Hull Seals 3 Nov 3, 2022
Example of Telegram local API and aiogram 3.x

Telegram Local Full example of Telegram local application. Contains Telegram Bot API Local Telegram Bot API server based on aiogram Bot API Server ima

Oleg A. 9 Sep 16, 2022
An example of a chatbot with a number-based menu that can be used as a starting point for a project.

NumMenu Bot NumMenu Bot is an example chatbot showing a way to design a number-based menu assistant with Rasa. This type of bot is very useful on plat

Derguene 19 Nov 14, 2022
A Sublime Text plugin that displays inline images for single-line comments formatted like `// ![](example.png)`.

Inline Images Sometimes ASCII art is not enough. Sometimes an image says more than a thousand words. This Sublime Text plugin can display images inlin

Andreas Haferburg 8 Jul 1, 2022
Example code for interacting with solana anchor programs - candymachine

candypy example code for interacting with solana anchor programs - candymachine THIS IS PURELY SAMPLE CODE TO FORK, MODIFY, UNDERSTAND AND INTERACT WI

dubbelosix 3 Sep 18, 2022
An example of matrix addition, demonstrating the basic method of Python calling C library functions

Example for Python call C functions An example of matrix addition, demonstrating the basic method of Python calling C library functions. How to run Bu

Quantum LIu 2 Dec 21, 2021
Polars-fun - Example notebooks for how to use pola.rs

polars-fun Polars is an awesome Rust DataFrame library with Python language bindings. This repo makes it easy to run Polars code on your local machine

Matthew Powers 2 Jun 28, 2022