Open rockneurotiko opened 8 years ago
:joy: :joy: :joy:
Is it a joke?
We can create a patch for tg
based on This pull-request
Put this patch inside patches
folder, then add a single line to execute this patch in launch.sh
Perhaps, we need to edit banhammer.lua
plugin or create a dedicated kick_by_reply.lua
:laughing: :laughing: :laughing:
:laughing: :laughing: :laughing: :laughing: :laughing: :laughing:
It was a joke... but this is really great!! Thanks!
what kind of joke ?! and about what :D ?!
@siyanew Your plugin works. But we need a failsafe to prevent it kicking bot, admin and sudoers.
There is a plugin which do this: https://github.com/yagop/telegram-bot/blob/master/plugins/kickme.lua This issue is a joke.
Why are you using get_message
? I think there is no need to do it. get_message_callback
can't return anything.
@yagop it was for kick by reply , @rizaumami it is for test and kick for sudoers , you're right you can complete this .
can you try making ban by reply or even promte/demote ? :)
I did write kick/ban by reply
for my guard bot.
See https://github.com/rizaumami/merbot.
For now, I'm not interested in moderation bot.
@rizaumami thanks for the plugin ...what about promoting or demoting
where is the "kick/ban by reply" code, in which plugin, bro?
@yonijuerga in the banhammer plugin
I realy watn kic by relpy!