Random command "recognition" #48

Closed
opened 2022-10-12 13:49:10 +00:00 by simu73 · 4 comments
simu73 commented 2022-10-12 13:49:10 +00:00 (Migrated from github.com)

Banofbot "recognizes" commands in random context or situations. This leading to not intended command execution or deleted messages (when as not-admin in "lock"-mode).

Examples (with /lock, but happening with all Banofbot commands) :

  • command is "hidden" in a message sent in the group:
    ".. to explain how bots work. So you could use the /lock-command to toggle wether users are allowed to ..."

  • in an other command:
    "/addblocklist" (or everything like e.g. "/sbjelklockrandjk")
    (happend in a group where i got another bot using this command. NOT an issue when not beeing to lazy and fully adressing as /addblocklist@MissRose_bot)

  • unintended banvote:
    (reply to someone whilst discussing the behavior of Banofbot)
    " ... yes, that's the intended part. Also working with other commands as (slash) limit , (slash) help oder (slash) help@banofbot."

Banofbot "recognizes" commands in random context or situations. This leading to not intended command execution or deleted messages (when as not-admin in "lock"-mode). Examples (with /lock, but happening with all Banofbot commands) : - command is "hidden" in a message sent in the group: ".. to explain how bots work. So you could use the **/lock**-command to toggle wether users are allowed to ..." - in an other command: "/addb**lock**list" (or everything like e.g. "/sbjelk**lock**randjk") (happend in a group where i got another bot using this command. NOT an issue when not beeing to lazy and fully adressing as /addblocklist@MissRose_bot) - unintended banvote: (reply to someone whilst discussing the behavior of Banofbot) " ... yes, that's the intended part. Also working with other commands as (slash) limit , (slash) help oder (slash) help@banofbot."
simu73 commented 2022-10-12 14:03:32 +00:00 (Migrated from github.com)

One more "option" - also "recognizing" things like
"/ramdomtextlockrandomword@banofbot"

One more "option" - also "recognizing" things like "/ramdomtext**lock**randomword@banofbot"
backmeupplz commented 2022-10-12 14:05:26 +00:00 (Migrated from github.com)

Hm, interesting issue. Feel free to submit a pull request fixing it

Hm, interesting issue. Feel free to submit a pull request fixing it
simu73 commented 2022-10-12 14:10:58 +00:00 (Migrated from github.com)

Hm, interesting issue. Feel free to submit a pull request fixing it

Fair proposal - but im just an (active) user without knowhow to code a fix.

> Hm, interesting issue. Feel free to submit a pull request fixing it Fair proposal - but im just an (active) user without knowhow to code a fix.
backmeupplz commented 2026-10-22 17:31:12 +00:00 (Migrated from github.com)

Thank you for taking the time to report this, and sorry it sat without an answer for so long. I'm cleaning up old issues and closing this one because it has been inactive for a long time. If it still affects you, please open a new issue with the current details and I'll take a look.

Thank you for taking the time to report this, and sorry it sat without an answer for so long. I'm cleaning up old issues and closing this one because it has been inactive for a long time. If it still affects you, please open a new issue with the current details and I'll take a look.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
backmeupplz/banofbot#48
No description provided.