Telegram bot using python

Overview

bot_test

Telegram bot using python

The goal of 5per5 bot is to help non-native English speakers learn trendy words to use at job interviews. Currently the bot is still in making and learning. I wanted to share this template script in case it might be helpful to others.

The goal of this script is to create a simple bot with ML features on Telegram using python. I am using tensorflow.keras to train the bot to recognize patterns of natural languge and predict the appropriate response. The code has comments to explain what each part does.

If you want to use this script, you will need to copy 3 files from this repository. You will work on them in this order:

  1. intents.json
  2. training.py
  3. chatbot_5per5_main.py

Note: you don't need to copy "chatbotmodel.h5" file, you will generate your own model.h5 once you run your training script.

You will also need to create your own txt file named "token.txt" where you will paste the unique token you get from botfather. Here is the tutorial I used to create my bot on telegram https://www.youtube.com/watch?v=CNkiPN_WZfA. This tutorial walks you through token creation.

Here are 2 other tutorials that helped me along the way:

https://www.youtube.com/watch?v=PTAkiukJK7E

https://www.youtube.com/watch?v=1lwddP0KUEg&t=337s

Owner
Masha Kubyshina
Masha Kubyshina
A Pythonic client for the official https://data.gov.gr API.

pydatagovgr An unofficial Pythonic client for the official data.gov.gr API. Aims to be an easy, intuitive and out-of-the-box way to: find data publish

Ilias Antonopoulos 40 Nov 10, 2022
buys ethereum based on graphics card moving average price on ebay

ebay_trades buys ethereum based on graphics card moving average price on ebay Built as a meme, this application will scrape the first 3 pages of ebay

ConnorCreate 41 Jan 05, 2023
Probably Overengineered Unimore Booker

POUB Probably Overengineered Unimore Booker A python-powered, actor-based, telegram-facing, timetable-aware booker for unimore (if you know more adjec

Lorenzo Rossi 3 Feb 20, 2022
This is a Innexia Chat Bot Open Source Code ๐Ÿคฌ

โšก Innexia โšก A Powerful, Smart And Simple Chat Bot ... Written with Python... Available on Telegram as @InnexiaChatBot โค๏ธ Support โญ๏ธ Thanks to everyone

Dark Cyber 4 Oct 02, 2022
A file-based quote bot written in Python

Let's Write a Python Quote Bot! This repository will get you started with building a quote bot in Python. It's meant to be used along with the Learnin

1 Jan 15, 2022
Check AWS S3 instances for read/write/delete access

s3sec Test AWS S3 buckets for read/write/delete access This tool was developed to quickly test a list of s3 buckets for public read, write and delete

0xmoot 114 Dec 06, 2022
Una herramienta para transmitir mensajes automรกticamente a mรบltiples grupos de chat

chat-broadcast Una herramienta para transmitir mensajes automรกticamente a mรบltiples grupos de chat Setup Librerรญas Necesitas Python 3 con la librerรญa

Seguimos 2 Jan 09, 2022
๐€ ๐ฆ๐จ๐๐ฎ๐ฅ๐š๐ซ ๐“๐ž๐ฅ๐ž๐ ๐ซ๐š๐ฆ ๐†๐ซ๐จ๐ฎ๐ฉ ๐ฆ๐š๐ง๐š๐ ๐ž๐ฆ๐ž๐ง๐ญ ๐›๐จ๐ญ ๐ฐ๐ข๐ญ๐ก ๐ฎ๐ฅ๐ญ๐ข๐ฆ๐š๐ญ๐ž ๐Ÿ๐ž๐š๐ญ๐ฎ๐ซ๐ž๐ฌ !!

๐‡๐จ๐ฐ ๐“๐จ ๐ƒ๐ž๐ฉ๐ฅ๐จ๐ฒ For easiest way to deploy this Bot click on the below button ๐Œ๐š๐๐ž ๐๐ฒ ๐’๐ฎ๐ฉ๐ฉ๐จ๐ซ๐ญ ๐†๐ซ๐จ๐ฎ๐ฉ ๐’๐จ๐ฎ๐ซ๐œ๐ž๐ฌ ๐†๐ž๐ง๐ž?

Mukesh Solanki 1 Dec 10, 2021
Discord bot for playing blindfold chess.

Albin Discord bot for playing blindfold chess written in Python. Albin takes the moves from chat and pushes them on the board without showing it. TODO

8 Oct 14, 2022
DadBot 2.0 is an interactive bot that reflects the personality of a typical dad

DadBot 2.0 is an interactive bot that reflects the personality of a typical dad! You can start by running main while all directories are maintained as they are on this GitHub.

1 Dec 04, 2021
Minimal Python client for the Iris API, built on top of Authlib and httpx.

๐Ÿ•ธ๏ธ Iris Python Client Minimal Python client for the Iris API, built on top of Authlib and httpx. Installation pip install dioptra-iris-client Usage f

Dioptra 1 Jan 28, 2022
=>|<= the MsgRoom bot for Windows 96

=|= bot A MsgRoom bot in Python 3 for Windows96.net. The bot joins as =|=, if parameter name_lasts is not true and default_name is =|=. The full

Larry Holst 2 Jun 07, 2022
Powerful and Advance Telegram Bot with soo many features๐Ÿ˜‹๐Ÿ”ฅโค

Chat-Bot Reach this bot on Telegram Chat Bot New Features ๐Ÿ”ฅ โœจ Improved Chat Experience โœจ Removed Some Unnecessary Commands โœจ Added Facility to downlo

Sanila Ranatunga 10 Oct 21, 2022
Popcorn-time-api - Python API for interacting with the Popcorn Time Servers

Popcorn Time API ๐Ÿ“ CONTRIBUTIONS Before doing any contribution read CONTRIBUTIN

Antonio 3 Oct 31, 2022
A Telegram Music Bot written in Python using Pyrogram and Py-Tgcalls

A Telegram Music Bot written in Python using Pyrogram and Py-Tgcalls. This is Also The Source Code of The UserBot Which is Playing Music in @S1-BOTS Support Group โค๏ธ

SAF ONE 224 Dec 28, 2022
A modular telegram Python bot running on python3 with an sqlalchemy database.

Saber A modular telegram Python bot running on python3 with an sqlalchemy database. Originally a marie fork - Saber has evolved further and was built

ZERO โ€ข ใ‚ขใ‚ฏใƒใƒซ . 4 Nov 09, 2021
An open-source Discord Bot Project based on programming!

An open-source Discord Bot Project based on programming!

Vladimer Moore 2 Aug 22, 2022
A Discord bot coded in Python

Perseverance-Bot By Toricane Replit Code | GitHub Code | Discord Server | Website Perseverance is a multi-purpose bot coded in Python. It has moderati

4 Mar 30, 2022
A Python library for inserting an reverse shell attached to Telegram in any Python application.

py tel reverse shell the reverse shell in your telgram! What is this? This program is a Python library that you can use to put an inverted shell conne

Torham 12 Dec 28, 2022
Quadrirrotor UFABC - ROS/Gazebo

QuadROS_UFABC - Repositรณrio utilizado durante minha dissertaรงรฃo de mestrado para simular sistemas de controle e estimaรงรฃo para navegaรงรฃo de um quadrirrotor utilizando visรฃo computacional.

Mateus Ribeiro 1 Dec 13, 2022