Dotvhs, how to make a random reply? this one is

doesnt work

10 ответов

25 просмотров

Google "python random pick from list"

Oh man if you didn't import random then try to do smth simpler than bot first

Why install dependencies for such a small thing?

md- Автор вопроса
md- Автор вопроса
md- Автор вопроса
Encrypted
Oh man if you didn't import random then try to do ...

how about if user message.text is saying many times and i want if saying this multiple times like 3x above then, user message text: hello response: hi if user message text say hello for 3x then will be message like response: i said hello possible?

md- Автор вопроса
Encrypted
You need to store state somewhere

Last question, how about even user message.text "helo" and i dont have "helo" in list, only "hello" and i want to automatically detect the typo and still response.

Похожие вопросы

Карта сайта