Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No sent reply message if there is an error #13

Open
elgorditosalsero opened this issue Nov 6, 2023 · 1 comment
Open

No sent reply message if there is an error #13

elgorditosalsero opened this issue Nov 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@elgorditosalsero
Copy link
Owner

No sent reply message if there is an error

Description

When the user sends a new job offer but the bot doesn't have the permissions to perform an action (in this case pin a message), they will not get the reply that the JO was sent successfully

To reproduce

Steps to reproduce the behavior:

  1. Send the /postjoboffer command
  2. Fill the jo
  3. If the targeted group doesn't have permission to perform an action the sent message is not sent.

Expected behavior

The bot should send correctly the sent message even tho it's not pinning the message (maybe display a text too).

Screenshots

If applicable, add screenshots to help explain your bug.

Additional context

Call to 'pinChatMessage' failed! (400: Bad Request: not enough rights to manage pinned messages in the chat)

An example error is when the bot doesn't send the sent message.

@elgorditosalsero elgorditosalsero added the bug Something isn't working label Nov 6, 2023
@elgorditosalsero elgorditosalsero self-assigned this Nov 6, 2023
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🔖 To Do
Development

No branches or pull requests

1 participant