Salz0 / telegram_flea

A open-source flea market bot, to be used in any Community
MIT License
9 stars 21 forks source link

Added moderation support #34

Closed ishevche closed 10 months ago

ishevche commented 10 months ago

It resolves issue #1.

Every listing, before being sent to a specified channel, is sent to a moderator, defined by its CHAT_ID in the .env file.

For each listing, a moderator has two options: approve and decline. If the moderator approves the listing, it is posted to the channel, and the seller is notified with a message containing a button to revoke the listing. If the listing is declined, only a notification for the seller is sent.

Six newly created text variables are used:

The first two variables accept listing - a text of the message displayed in the channel.

Salz0 commented 10 months ago

Hey man, do you plan on working this PR anymore?

Salz0 commented 10 months ago

Great, thank you man for this big PR and for sticking to it util it's done. Highly appreciated 🙌