for it not to work stably?😁
bash? try assembly
absolutely lmao. I wanna see source tho
Dude can i see ur code please
Maybe bash is not the best language to write a bot in :D
I will upload the code to github😀
Assembly? What's that, I write machine code directly
After seeing a bot written in brainfuck nor assembly or bash can surprise me
Is it forbidden to send the name of the bot I wrote in bash here?
Welp better just don't. I would like to see a source more than the bot itself
Machine code? Pathetic. I wire the logic in hardware.
For brainfuck you can make a transpiler very easily
I will upload the source to github
https://github.com/yilbegan/telefuck
Malboldge is another level tho
People have shared codes linking to their bots in the past in the chat https://t.me/BotTalk/646504
And I love "fix typo" commit: https://github.com/yilbegan/telefuck/commit/ca21468e9064edab86f1f1810416ef6ec6fd596a
One thing is linking the sources, the other is posting bot username
go tell that to yilbegan
Does it capture stdout and makes requests using other tools?
Welp i took a quick look at its python interpreter and it doesn't seem so. Didn't get in details however
So custom intepreter?
Is there an official one?
I mean it probably has some out-of-standart features
https://hastebin.com/share/hefetiyika.bash
okay
Haha, I don't mind hastebin. It's just funny how you mentioned two times that it will be on github and used some other service
The code you posted won't work, because you always call "$API_URL/getUpdates". You always fetch the same updates and never mark the updates as "read". Also you only check one single update per /getUpdates call. This is very expensive and unnecessary. You should consider adding a loop inside the loop and process all updates in there
I don't even know how to make an array in bash
I just tried it and it was working😅
https://github.com/ErdemXp/bash-chatgpt/
If anyone still wants to look source code -> https://github.com/ErdemXp/bash-chatgpt/
..... I don't know much about Bash. This bot was just a test
You do a curl requests in plain bash to telegram and then use python one to get chatgpt answer
Обсуждают сегодня