Git Product home page Git Product logo

groupmanagerbot's Introduction

Hi there ๐Ÿ‘‹

Anurag's GitHub stats

My StackOverflow profile:

profile for Jonathan1609 at Stack Overflow, Q&A for professional and enthusiast programmers

Contat me:

t.me/jonatan1609

pybots.il@gmail.com

groupmanagerbot's People

Contributors

jonatan1609 avatar renovate-bot avatar volikon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

groupmanagerbot's Issues

Bot doesnโ€™t delete its message

When someone joins and refuses to click any of the buttons below the message the bot kicks him out of the group after X seconds but doesn't delete its message.

[BUG] [BOT] - No logs

Describe the bug
There are no logs at all about events that happen.

Expected behavior
Log every time a user gets banned, or someone invites the bot, etc.

Additional context
Better to use loguru.

Make sure the bot is admin

Is your feature request related to a problem? Please describe.

The bot has to make sure that it has the desired administration privileges.

Describe the solution you'd like
Do not turn on the bot in the group unless it has those permissions.

non-admin members can set up a group configuration

Describe the bug
The bot allows non-admin people to change the configuration of a particular group.

To Reproduce
Steps to reproduce the behavior:

  1. Add the bot to a group.
  2. Click on 'ืœื—ืฅ ื›ืืŸ ืœื”ื’ื“ืจื”' or 'set up'
  3. Config everything.

Expected behavior
Only admins could set up their group configuration.

[BUG] [BOT] - Handle edge cases where no permissions are given and cases where the group/user is not in the database

Describe the bug
When you add the bot to the group while the bot was down then the group does not appear in the database which leads to errors in the code later where we can't find the user/group in the DB, or cases where the bot wants to restrict user but doesn't have the right permissions to do so, or to delete service messages etc..

Expected behavior
Send a message in the group to give the bot its required permissions

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

This repository currently has no open or pending branches.


  • Check this box to trigger a request for Renovate to run again on this repository

Ask the user for his language in the bot interface.

Is your feature request related to a problem? Please describe.
Ask the user for his language in the bot interface.

Describe the solution you'd like
Ask the user for his preferred language as soon as he /starts the bot.

Describe alternatives you've considered
Guess his language by his lang_code that Telegram supplies.

Additional context
In order to send him messages in the private chat, unrelated to the group[s] he owns.

[BUG] [BOT] - wrong key in the futures dict

Describe the bug
When the user presses either i am a human/bot the handler tries to access the future with an incorrect key.

To Reproduce
Steps to reproduce the behavior:

  1. Join a group.
  2. Click on 'i am a human' (e.g).
  3. The bot says "this message is not for you" as it cannot find the corresponding future.

Expected behavior
Delete the message.

Additional context
File: VerifyButtons.py lines 10, 23 add message_id as a key.

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.