Git Product home page Git Product logo

telegram-openai-bot's Introduction

👋 Hi there, I'm Marcel!

Full-stack web engineer with 10+ years of professional working experience. I had the opportunity in achieving different knowledges in the IT sphere, starting with web technologies, desktop and mobile applications to even hardware products.

In last 4 years I achieved big experience with creating decentralized applications, where most of them were built using Ethereum Blockchain.


  • 🔭 I’m currently working on DMEX.app;
  • 🌱 I'm currently learning Golang, and always looking to learn new things about Web Dev;
  • 👯 I'm looking to collaborate on developing dApp projects, or another amazing projects;
  • 💬 Feel free to reach out to me for general consulting, or discussions on Blockchain dApps;
  • 🎨 In my free time, I enjoy playing tennis, learning microelectronics and developing hardware devices;
  • 📄 You can check my resume for more details about work experience.

🛠 Tech Stack

Go  JavaScript  Node.js  TypeScript  HTML  CSS  Express  Socket.IO  Sequelize  PostgreSQL  MySQL  Redis  RabbitMQ  MinIO  Nginx  Apache2  Ubuntu  Docker  Let's Encrypt  Prometheus  Grafana  Consul  Ethereum  Solidity  web3.js  MetaMask  bignumber.js  Truffle Git  WebStorm  Visual Studio Code  RaspberryPI 

📚 Specialized Books

  • ✅ Designing Data-Intensive Applications
  • ✅ Testirovanie dot-com
  • ⚪ The Art of Readable Code
  • ⚪ Clean Code
  • ⚪ Clean Architecture

 Osoian Marcel

telegram-openai-bot's People

Contributors

osoianmarcel avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

bugbounted

telegram-openai-bot's Issues

Conflict: can't use getUpdates method while webhook is active; use deleteWebhook to delete the webhook first

Hi Osoian Marcel,
after deployed to render.com get error loop below on runtime :

Jan 6 11:27:17 PM  ==> Cloning from https://github.com/bugbounted/telegram-openai-bot...
Jan 6 11:27:18 PM  ==> Checking out commit d82c8186df0573735be15f6754ae5349497ca62c in branch main
Jan 6 11:27:20 PM  ==> Running build command 'go build -tags netgo -ldflags '-s -w' -o app'...
Jan 6 11:27:20 PM  go: downloading github.com/go-telegram-bot-api/telegram-bot-api/v5 v5.5.1
Jan 6 11:27:20 PM  go: downloading github.com/sashabaranov/go-gpt3 v0.0.0-20221216095610-1c20931ead68
Jan 6 11:27:26 PM  ==> Generating container image from build. This may take a few minutes...
Jan 6 11:28:19 PM  ==> Uploading build...
Jan 6 11:28:33 PM  ==> Build uploaded in 12s
Jan 6 11:28:34 PM  ==> Build successful 🎉
Jan 6 11:28:34 PM  ==> Deploying...
Jan 6 11:28:54 PM  ==> Starting service with './app'
Jan 6 11:28:55 PM  2023/01/06 19:58:55 Start listener
Jan 6 11:28:55 PM  2023/01/06 19:58:55 Worker #1 started
Jan 6 11:28:55 PM  2023/01/06 19:58:55 Worker #0 started
Jan 6 11:28:55 PM  2023/01/06 19:58:55 Worker #3 started
Jan 6 11:28:55 PM  2023/01/06 19:58:55 Worker #2 started
Jan 6 11:28:55 PM  2023/01/06 19:58:55 Conflict: can't use getUpdates method while webhook is active; use deleteWebhook to delete the webhook first
Jan 6 11:28:55 PM  2023/01/06 19:58:55 Failed to get updates, retrying in 3 seconds...
Jan 6 11:28:58 PM  2023/01/06 19:58:58 Conflict: can't use getUpdates method while webhook is active; use deleteWebhook to delete the webhook first
Jan 6 11:28:58 PM  2023/01/06 19:58:58 Failed to get updates, retrying in 3 seconds...
Jan 6 11:29:01 PM  2023/01/06 19:59:01 Conflict: can't use getUpdates method while webhook is active; use deleteWebhook to delete the webhook first
Jan 6 11:29:01 PM  2023/01/06 19:59:01 Failed to get updates, retrying in 3 seconds...
Jan 6 11:29:04 PM  2023/01/06 19:59:04 Conflict: can't use getUpdates method while webhook is active; use deleteWebhook to delete the webhook first

also my setting for deploy is :

Root Directory : cmd/tgbot
Build Command : go build -tags netgo -ldflags '-s -w' -o app
Start Command : ./app

envs :

tg_apitoken : telegram bot api token.
gpt_auth_token : openai api key.
tg_admin_chatid : bot owner chat id (used for feedback command).

waiting for your response
finest regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.