I am trying to add a /ban command in my telegram robot using mongodb… The cmds /ban and /unban work prefectly with mongodb… But When I Try To Fetch the data(Document) which I Inserted through ban cmd is getting A KeyError… I am Working On Python And I Will Share My Codes, Inserted Document And Error Below…
How I Insert Document Through /ban cmd
How I Tries To Fetch The Document :