osdc / bots

Bots for OSDC Community Channels.🤖🤖
MIT License
6 stars 23 forks source link

Add /me feature to the bot. #11

Closed sidntrivedi012 closed 3 years ago

sidntrivedi012 commented 4 years ago

First-time Contributors

If it is the first time that you contribute to the bot, follow these steps:

  1. You need to have git & golang available on your machine.
  2. Write a comment in this issue thread to let other possible contributors know that you are working on this bug. For eg : Hey all, I would like to work on this issue.
  3. Ping Botfather on Telegram and make your instance of OSDC-Bot bot by selecting /newbot from the options it provides.
  4. Copy the TELEGRAM_TOKEN provided by Botfather.
  5. Fork this repo.
  6. Run git clone https://github.com/<YOUR_USERNAME>/bots.git && cd bots/telegram-bot
  7. If you have installed golang, run go build .
  8. Wait ⏳
  9. Run export TELEGRAM_TOKEN=<botfather_token>
  10. Now, run ./telegram-bot. The bot would be running at the user handle provided by you.
  11. Make changes according to the issue. Test the working of the changes.
  12. Commit the changes and then run git push origin master and then open a PR! 🎉
darksun27 commented 4 years ago

You should check this out: https://github.com/telegramdesktop/tdesktop/issues/1165

sidntrivedi012 commented 4 years ago

@darksun27 Quite a lot discussion about a rather logically simple feature, isn't it ?😅

darksun27 commented 4 years ago

Yes because this isn't a feature that can be implemented by any bot api but you have to do some infrastructural changes in the code to replace the message.

PrimalPimmy commented 4 years ago

I'd like to work on this issue.