kotlin-telegram icon indicating copy to clipboard operation
kotlin-telegram copied to clipboard

Add ability to (re)move off-topic messages with bot

Open dector opened this issue 5 years ago • 1 comments

Use case: somebody is posting off-topic message to chat.

Now:

User A:
    Hi! How do you like % NON KOTLIN-RELATED STUFF %?
User B:
    >>> User A:
    >>> Hi! How do you like % NON KOTLIN-RELATED STUFF %?
    Oh, not again!
User C:
    >>> User A:
    >>> Hi! How do you like % NON KOTLIN-RELATED STUFF %?
    GFY!
User D:
    >>> User A:
    >>> Hi! How do you like % NON KOTLIN-RELATED STUFF %?
    Belongs to @pofftop !

Better option

User A:
    Hi! How do you like % NON KOTLIN-RELATED STUFF %?
Moderator:
    >>> User A:
    >>> Hi! How do you like % NON KOTLIN-RELATED STUFF %?
    !mod offtopic

Then bot (re)moves offtopic message to special chat and removes moderator reaction.

Note: !mod offtopic is just a command sample, can be discussed.

dector avatar Feb 24 '20 18:02 dector

Just my two cents: it sounds reasonable to allow same / similar command for usual members, but react to them after reaching some kind of threshold. We'll probably get to it at some point at Heapy/kotbot.

r4zzz4k avatar Feb 24 '20 18:02 r4zzz4k