How To Host Telegram Bot on AWS - Amazon Web Services

How to Deploy Marie Bot using AWS 

Configure your Instance;

    1. Create an AWS account!

    Link : https://portal.aws.amazon.com/billing/signup#/start

    2. Launch an EC2 instance.

    3. Convert PEM file to PPK file using PuTTY

    Download PuTTY : https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

    4. Connect to EC2 instance using PuTTy

5. Some required commands,
        sudo apt update
        sudo apt upgrade
        sudo apt-get install python3-pip

NOTE: Use Enter key to run your commands.

Use right click to paste your copied command into terminal.

Now your instance is ready to USE!

Configure Marie Bot REPO;

1. Clone the source code of Marie

Source code: https://github.com/TGExplore/Marie-2.0-English


2. Create config.py file from sample_config.py

    Bot Token : from Bot Father @botfather

    Owner ID : from Rose ( /id ) @MissRose_bot

    Owner username : Any name

    Database URL : from AWS


Deploy your Marie REPO in AWS instance;

1. Using screens is a better way to run your programs.

        screen -S marie

This will open a new screen inside our main terminal.


2. Clone your source code to your instance

        git clone <your_repo_url>

Enter your GitHub username and password and hit enter!


3. Change your current directory

        cd <repo name>

4. Install required dependencies.

        pip3 install -r requirements.txt

5. Start your BOT !

        python3 -m tg_bot

Your BOT is ready to use :)


Some Usefull commands;

> To detach from current screen

Ctrl + a + d ( hold Ctrl and press a and d sequentially )

> To see all active screens

screen -ls

> To attach to a screen

screen -r number

>To detach from a screen

screen -d number

>To logout from terminal with BOT running in screen

Ctrl + a + d

Note: 

AWS Free Tier Has many limitations. Some Important things to know!!

> Free tier instances will be available for 1 year! After that it will be charged. You need to either pay or need to delete the instance.

> It will be completely free for 1 Year if you stay within the limits!!

> Free Tier has 15GB Bandwidth limit/Month. That is, You cant host any bots that transfers data outside of server. Like Rename or Upload bots! Because Uploading your file to telegram counts as Outbound traffic. And 15 GB is too less for that!

> Max Storage allocated for free tier is 30GB! If you select above that, Your card will be billed!

> AWS RDS Postgres DB used for Marie BOT is free for 12 months. You must delete you DB Before free tier ENDS or else your card will be billed!
If you plan to use free, all you filters will be lost after 1 year!
So better use any other DB instead of AWS RDS if you want to keep your filters. Heroku Postgres DB is also a option!
Simply copy the DB URL from heroku and paste in config.py file :)

> Only make one instance in free tier! If you make two, you will be Billed!

This is just a TUTORIAL on how to host bots inside a VPS or VPC etc!
We are not responsible if you exceed any limits and YOU are charged..


If you are willing to pay for VPS there are many better options other than AWS such as Digital Ocean, Scaleway, Hetzner etc..

Credits: @prgofficial

How To Create WhatsApp User Bot - WhatsAsena

WhatsAsena - Asena Userbot is Open Source software open to development. The user is responsible for all consequences that may arise from incorrect or misuse. Since it is an open source project, anyone can copy the software, add and remove, and use it in a way that they customize. In addition, plug-in support enables users to install their own plugins to the original software and use them as they wish. Using the bot out of purpose will explicitly ban you. Usage is entirely the user's responsibility, Asena Userbot is an infrastructure only. Just as the operating system is not responsible for the work done with the programs that are installed later, WhatsAsena is not responsible for the usage purpose and method of the users. Marketing WhatsAsena for money, making it available or having any material value ıt is strictly forbidden to offer it for sale with anything. All legal investigations that may arise the user is responsible.


How to set up Whatsasena?

1. Essay way to Generate QR Code In Computer 

Link: https://repl.it/@phaticusthiccy/WhatsAsena-QR 
(Just Open Link & Press RUN Button - Computer Users

  1. Termux or download iSH. if you using pc; Powershell run as administrator.
  2. Paste the codes;
    • Termux: bash <(curl -L https://t.ly/qYqy)
    • iOS: There is no support for IOS
    • Windows 10: Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://gitlab.com/Quiec/whatsasena/-/raw/master/windows.ps1')
  3. If it asks questions like Y/N please type Y If all transactions done successfully, you will see a QR code., you need to scan this QR code in the WhatsApp. Process is so simple;
  4. Paste the code you received into the ASENA_SESSIONS section.
COFFEEHOUSE_API_KEY https://coffeehouse.intellivoid.net/ [Lydia]
HEROKU_API_KEY https://dashboard.heroku.com/account
REMOVE_BG_API_KEY https://remove.bg
SUDO Like 9198XXXXXXXX,9177XXXXXXXX,

F.A.Q

Answer a few frequently asked questions;

Can you read my messages?

This project is open source so all the codes are clear. Neither less nor more; you can look what you want. We absolutely do not have access to your accounts.

What about our security?

If you are concerned about security, you can install it on your own computer. If you think someone else has captured your data, simply click on Whatsapp> Three Dots> Whatsapp Web> Logout from all sessions button.

Is it paid?

Of course not. It will never happen. But you can donate to us. You can reach me via Telegram .

What does Asena mean?

Asena, comes from Turkish mythology. According to Turkish mythology, Asena is a she-wolf that plays an important role.

Warning!

Due to Userbot; Your WhatsApp account may be banned.
This is an open source project, you are responsible for everything you do. 
Absolutely, Asena executives do not accept responsibility.
By establishing the Asena, you are deemed to have accepted these responsibilities.

Command


*🛠 Command:*
.install
*💬 Description:*
Plugin installs.
*⌨️ Example:*

*🛠 Command:*
.plugin
*💬 Description:*
Shows the plugins you have installed.

*🛠 Command:*
.remove
*💬 Description:*
Removes the plugin.

*🛠 Command:*
.ban
*💬 Description:*
Ban someone in the group. Reply to message or tag a person to use command.

*🛠 Command:*
.add
*💬 Description:*
Adds someone to the group.
*⌨️ Example:*
.add 905xxxxxxxxx

*🛠 Command:*
.promote
*💬 Description:*
Makes any person an admin.

*🛠 Command:*
.demote
*💬 Description:*
Takes the authority of any admin.

*🛠 Command:*
.mute
*💬 Description:*
Mute the group chat. Only the admins can send a message.

*🛠 Command:*
.unmute
*💬 Description:*
Unmute the group chat. Anyone can send a message.

*🛠 Command:*
.invite
*💬 Description:*
Provides the group's invitation link.

*🛠 Command:*
.afk
*💬 Description:*
It makes you AFK.

*🛠 Command:*
.term
*💬 Description:*
Allows to run the command on the server's shell.
*⌨️ Example:*
.term ls

*🛠 Command:*
.filter
*💬 Description:*
It adds a filter. If someone writes your filter, it send the answer. If you just write .filter, it show's your filter list.
*⌨️ Example:*
.filter "merhaba" "merhaba, nasılsın?"

*🛠 Command:*
.stop
*💬 Description:*
Stops the filter you added previously.
*⌨️ Example:*
.stop "merhaba"

*🛠 Command:*
.welcome
*💬 Description:*
It sets the welcome message. If you leave it blank it shows the welcome message.
Stop: .welcome sil

*🛠 Command:*
.goodbye
*💬 Description:*
Sets the goodbye message. If you leave blank, it show's the goodbye message.
Stop: .goodbye sil

*🛠 Command:*
.restart
*💬 Description:*
Restart WhatsAsena

*🛠 Command:*
.shutdown
*💬 Description:*
Shutdown WhatsAsena

*🛠 Command:*
.dyno
*💬 Description:*
Check heroku dyno usage

*🛠 Command:*
.setvar
*💬 Description:*
Set heroku config var

*🛠 Command:*
.delvar
*💬 Description:*
Delete heroku config var

*🛠 Command:*
.getvar
*💬 Description:*
Get heroku config var

*🛠 Command:*
.addlydia
*💬 Description:*
Activates Lydia for the user.

*🛠 Command:*
.rmlydia
*💬 Description:*
Makes Lydia disabled for the user.

*🛠 Command:*
.meme

*🛠 Command:*
.neko
*💬 Description:*
Replied messages will be added to nekobin.com.

*🛠 Command:*
.kickme
*💬 Description:*
It kicks you grop you are.

*🛠 Command:*
.pp
*💬 Description:*
Makes the profile photo what photo you reply.

*🛠 Command:*
.removebg
*💬 Description:*
Removes the background of the photos.

*🛠 Command:*
.trt
*💬 Description:*
It translates with Google Translate. You must reply any massage.
*⌨️ Example:*.trt en ml (From English to Malayalam)

*🛠 Command:*
.currency

*🛠 Command:*
.tts
*💬 Description:*
It converts text to sound.

*🛠 Command:*
.song
*💬 Description:*
Uploads the song you wrote.

*🛠 Command:*
.video
*💬 Description:*
Downloads video from YouTube.

*🛠 Command:*
.yt
*💬 Description:*
It searchs on YouTube.

*🛠 Command:*
.wiki
*💬 Description:*
Searches on Wikipedia.

*🛠 Command:*
.img
*💬 Description:*
Takes Google pics.

*🛠 Command:*
.sticker
*💬 Description:*
It converts your replied photo or video to sticker.

*🛠 Command:*
.alive
*💬 Description:*
Does bot work?

*🛠 Command:*
.sysd
*💬 Description:*
Shows the system properties.

*🛠 Command:*
.tagall
*💬 Description:*
Tags everyone in the group.

*🛠 Command:*
.update
*💬 Description:*
Checks the update.
.update now - updating new features 

*🛠 Command:*
.weather
*💬 Description:*
Shows the weather.
*⌨️ Example:*
.weather Bakü

*🛠 Command:*
.speedtest
*💬 Description:*
Measures Download and Upload speed.

*🛠 Command:*
.ping
*💬 Description:*
Measures your ping.

Disclaimer

WhatsApp name, its variations and the logo are registered trademarks of Facebook. We have nothing to do with the registered trademark

How To Create Telegram Jarvis User bot


~ Jarvis Userbot is The Bot Which Follows Telegram API Rules .... 
~ No Abusive Content As Mentioned In Telegram API Terms and Services ....... 
~ You Will Get a Minimal Chance of Getting Banned in Telegram..
~ The Bot Which Has Most Fun Filled Filled With It
~ Vars Will Be Added Soon
~ Customisable Command Handler
 And Soon Some More Modifications Will Be added Soon

Jarvis userbot Support

Support Channel: https://t.me/jarvisot

  1. ALIVE_NAME: Fill your Full name or Username like @Username
  2. ALIVE_PIC: @vTelegraphBot
  3. API_HASH & APP_ID : my.telegram.org
  4. HEROKU_API_KEY: https://dashboard.heroku.com/account
  5. OWNER_ID @googleimgbot
  6. PLUGIN_CHANNEL: @googleimgbot
  7. PRIVATE_GROUP_ID: @googleimgbot
  8. STRING_SESSION: https://jarvisuserbot.jarvis210904.repl.run/
  9. SUDO_USERS: @googleimgbot
  10. TG_BOT_TOKEN_BF_HER: @BotFather [Don't Forget To Turn of inline Mode on bot settings]
  11. TZ: https://www.timezoneconverter.com/cgi-bin/findzone.tzc

The Normal Way

Simply clone the repository and run the main file:

git clone https://github.com/Jarvis-Works/JARVISuserbot/
cd jarvis
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
# <Create local_config.py with variables as given below>
python3 -m jarvis

An example local_config.py file could be: Not All of the variables are mandatory The Userbot should work by setting only the first two variables

from heroku_config import Var

class Development(Var):
  APP_ID = 6
  API_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e"

UniBorg Configuration

The UniBorg Config is situated in userbot/uniborgConfig.py. Heroku Configuration Simply just leave the Config as it is. Local Configuration Fortunately there are no Mandatory vars for the UniBorg Support Config.

Disclaimer

Your Telegram account may get banned. I am not responsible for any improper use of this bot This bot is intended for the purpose of having fun with memes, as well as efficiently managing groups. You ended up spamming groups, getting reported left and right, and you ended up in a Finale Battle with Telegram and at the end Telegram Team deleted your account? And after that, then you pointed your fingers at us for getting your acoount deleted? I will be rolling on the floor laughing at you.

Today's update brings you multiple pinned messages, proximity alerts for Live Locations, sending music as Playlists, and more


Today's update brings you multiple pinned messages, proximity alerts for Live Locations, sending music as Playlists, and more.

All chats, including one-on-one chats now support multiple pinned messages. Tap on the top bar to jump through them in chat, or use the new icon to open all the pinned messages on a separate page.

When sharing Live Location, you can now set distance alerts that will send you a notification when someone is close, and icons on the map show which direction users are facing.

Sending multiple music files at the same time will create a playlist. Pressing play will automatically add the rest of the tracks to your queue. For other file types, multiple photos or documents will be sent as an album.

It wouldn’t be an update without extra animated emoji, so check out what happens when you send a single ⚰️ 🎃 🧛‍♀️ 🧟‍♂️ 🦇 🕷 🕸 🌜 🌛 or 🗿 in chat (and tap on the animated ⚰️ and 🎃 emojis in chat for an extra surprise).

If you’re feeling lucky, see if you can hit the jackpot using 🎰.

For more info on all these changes and more, including Channel Stats for individual posts and new Android animations, read the blog here: https://telegram.org/blog/pinned-messages-locations-playlists

How to Create Your Own Telegram All Messages Deleting Bot | InFoTel


How to Create Your Own Telegram All Messages Deleting Bot?

Available Commands

/delall - Delete All Message

/selfrom - Select first Message 
/selto - Select Last Message
/seldel - Delete Selected Message   

/seldel photo - Delete All Photos
/seldel document -Delete All Documents 
/seldel sticker - Delete All Stickers 
/seldel audio - Delete All audio
/seldel animation - Delete All animation
/seldel video - Delete All video
/seldel video_note - Delete All video note
/seldel text - Delete All text
/seldel voice - Delete All voice

/seldel document photo - Delete All 
document & photo
/seldel sticker voice - Delete All 
sticker & voice
Etc..........

Credit: ThankTelegram

How To Make Telegram File Sharing Bot


You Can Create Your Own Telegram File Sharing Bot with Zero Coding

Support Group: @ThankTelegram

Steps:

Open this link: https://bots.shrimadhavuk.me/TIPSharEs/
Bot Father: @BotFather

 

Your 🥺 bot will be up in no 🥵 time!

P.S.: All this is free, and so if you like the efforts consider donating to the developer. For any feedback or suggestions, please reply to this message.

Credit: @SpEcHlDe

LEGAL DISCLAIMER

Please Note: All files sent to the bot, will be permanently available to all the users, till the file / message is available in the respective channel.

If you need to take down any file, please contact the original creator of the respective Telegram Bot. This service does not store / make available any files in any shape / form. We have absolutely no knowledge of the content that any users sends to their Telegram Bots, we don't save anything, not even the searches. Indexing process is completely manual. we don't check it. Whatever the stupid users suck in goes, The Good, The Bad, and The Ugly. This is merely a bot creation tool, aimed at experimenting with the Telegram Login Widget.

Restricting access to the official Telegram website in Belarus


A subscriber of the Belarusian operator A1 reported a certificate error on the official Telegram website - t.me. Instead of the original GoDaddy certificate, a certificate is provided from a certain "OSOO Alternative Digital Network". In the course, it turned out that in this way A1 is unsuccessfully trying to show a stub about blocking a web resource.


Earlier in Belarus, the Nekhta channel was recognized as extremist and a resolution was adopted on the need to block it.

The error occurs due to the fact that the provider is trying to take secure traffic under its control: in order to view or modify the transmitted data, the provider must replace the legitimate certificate with its own, but modern browsers do not trust such certificates.

In this case, the error is harmless, but in the future, intelligence services may try to listen to traffic in a similar way, performing a so-called MITM attack. They tried to deploy such tactics in Kazakhstan , but after the failure the idea was abandoned.

Never install certificates on your device if the carriers convince you to do so: this directly gives your ISP access to all web traffic.

Correspondence in official Telegram clients remains secure, since Telegram uses its own protocol, independent of this wiretapping technique.

For Telegram links to work on Android again, you need to install Telegram as the default app to open such links:
  1. If, when you click on a link, you are prompted to open it in Telegram or a browser, choose Telegram.
  2. If the pop-up window does not appear: Hold down the Telegram icon and open the "About application" item. Select the "Default Actions" section. Under Open Supported Links, select Open or Allow.
To open the link on iOS in Telegram, hold down this link and select "Open in Telegram".

DON'T MISS

beta, news, bot, features, bot, tutorial, Userbot, telegram
© All Rights Reserved
Made With By InFoTel