Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Commit 6444440

Browse files
Merge pull request #631 from aahnik/aahnik-patch-1
Update critical information in the readme
2 parents 7f05bfb + e2612df commit 6444440

File tree

2 files changed

+29
-19
lines changed

2 files changed

+29
-19
lines changed

‎Scripts/Bots/runPython_bot/README.md

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Run python code from your telegram chat!
44

5-
[![GitHub license](https://img.shields.io/github/license/aahnik/lovely-telegram)](https://github.com/aahnik/run-py-bot/blob/main/LICENSE)
5+
[![GitHub license](https://img.shields.io/github/license/aahnik/run-py-bot)](https://github.com/aahnik/run-py-bot/blob/main/LICENSE)
66
[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)
77
[![Maintenance Yes](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://gitHub.com/aahnik/REPO/graphs/commit-activity)
88

@@ -12,10 +12,18 @@ Run python code from your telegram chat!
1212

1313
## 🕵️ Find on Telegram
1414

15-
You can find this bot on Telegram as [@runPython_bot](https://telegram.me/runPython_bot).
15+
You can find this bot on Telegram as [@runPython_bot](https://telegram.me/runPython_bot).
16+
Note: I am constantly learning new concepts and I may update the source code running behind the bot.
1617

17-
This bot is deployed on [Python Anywhere](https://www.pythonanywhere.com/) free Beginner Account.
18-
You may check whether the bot is alive or not, by clicking on the start command. If the bot responds, it is alive.
18+
Here is the [link to the repo](https://github.com/aahnik/run-py-bot) which has the latest source for this bot. ![GitHub forks](https://img.shields.io/github/forks/aahnik/run-py-bot?style=social) ![GitHub Repo stars](https://img.shields.io/github/stars/aahnik/run-py-bot?style=social)
19+
20+
21+
## 😍 Featured in
22+
23+
1. Tweet by [Dev Community](https://twitter.com/ThePracticalDev/status/1325386583537803264)
24+
2. Tweet by [The Python Dev](https://twitter.com/The_Python_DEV/status/1325237102058016768)
25+
3. Dor Moshe's [Newsletter](https://dormoshe.io/newsletters/ag/python/7?utm_source=twitter&utm_campaign=twitter)
26+
4. My YouTube [Video](https://youtu.be/nCuQ-7Rw0gM) [![YouTube Video Views](https://img.shields.io/youtube/views/nCuQ-7Rw0gM?style=social)](https://youtu.be/nCuQ-7Rw0gM)
1927

2028
## 💬 Example Use
2129

@@ -37,9 +45,10 @@ If you are planning to deploy on your **own machine**, make sure to have `Python
3745

3846
The following instructions will work smoothly on *Linux* and *Mac*. If you are on Windows, you may have to make slight modifications. Google is your best friend here.
3947

40-
- Clone this repository and move into it.
41-
42-
git clone https://github.com/aahnik/run-py-bot.git && cd run-py-bot
48+
- Clone this repository and move into this directory which has this README you are reading.
49+
```
50+
git clone https://github.com/Python-World/Python_and_the_Web.git && cd Scripts/Bots/runPython_bot
51+
```
4352

4453
- Now add the token in the first line of `token.txt`.Run `cat > token.txt` -> Paste the token -> Press `Ctrl+D`
4554

@@ -71,18 +80,19 @@ For security and performance reasons, you **cannot** do the following with the b
7180

7281
You may overcome these limitations by changing the `config.py` file in the `bot` subdirectory and running the bot on your own server.
7382

83+
As I am constantly learning new concepts, the [latest version](https://github.com/aahnik/run-py-bot) of this bot will not have these limitations.
84+
7485
## 🤗 The Shameless Plug
7586

7687
Authored by **Aahnik Daw**.
7788

78-
You may connect with me by clicking on any of the icons below !
79-
80-
<a href = "https://medium.com/@aahnikdaw" > <img src = "https://github.com/aahnik/aahnik/blob/master/social_media_logos/medium.png?raw=true" alt = "medium" > </a >
81-
<a href = "https://www.facebook.com/aahnik.daw" > <img src = "https://github.com/aahnik/aahnik/blob/master/social_media_logos/facebook.png?raw=true" alt = "facebook" > </a >
82-
<a href = "https://www.linkedin.com/in/aahnik-daw-067a011b3/" > <img src = "https://github.com/aahnik/aahnik/blob/master/social_media_logos/linkedin.png?raw=true" alt = "linkedin" > </a >
83-
<a href = "https://t.me/AahniKDaw" > <img src = "https://github.com/aahnik/aahnik/blob/master/social_media_logos/telegram.png?raw=true" alt = "telegram" > </a >
84-
<a href = "https://twitter.com/AahnikD" > <img src = "https://github.com/aahnik/aahnik/blob/master/social_media_logos/twitter.png?raw=true" alt = "twitter" > </a >
85-
<a href = "https://www.quora.com/profile/Aahnik-Daw" > <img src = "https://github.com/aahnik/aahnik/blob/master/social_media_logos/quora.png?raw=true" alt = "quora" > </a >
86-
<a href = "https://www.youtube.com/channel/UCcEbN0d8iLTB6ZWBE_IDugg" > <img src = "https://github.com/aahnik/aahnik/blob/master/social_media_logos/youtube.png?raw=true" alt = "youtube" > </a >
87-
<a href = "https://stackoverflow.com/users/13523305/aahnik-daw" > <img src = "https://github.com/aahnik/aahnik/blob/master/social_media_logos/stackOverflow.png?raw=true" alt = "stackOverflow" > </a >
88-
<a href = "https://dev.to/aahnik" > <img src = "https://github.com/aahnik/aahnik/blob/master/social_media_logos/dev.png?raw=true" alt = "dev" > </a >
89+
You may click on any of the icons below to connect with me.
90+
91+
<a href = "https://twitter.com/AahnikD" > <img src = "https://github.com/aahnik/aahnik/blob/master/svg_assets/twitter.svg?raw=true" alt = "twitter" width=35> </a>
92+
<a href = "https://medium.com/@aahnik" > <img src = "https://github.com/aahnik/aahnik/blob/master/svg_assets/medium.svg?raw=true" alt = "medium" width=35> </a>
93+
<a href = "https://www.facebook.com/aahnik.daw" > <img src = "https://github.com/aahnik/aahnik/blob/master/svg_assets/facebook.svg?raw=true" alt = "facebook" width=35> </a>
94+
<a href = "https://www.linkedin.com/in/aahnik-daw-067a011b3/" > <img src = "https://github.com/aahnik/aahnik/blob/master/svg_assets/linkedin.svg?raw=true" alt = "linkedin" width=35> </a>
95+
<a href = "https://dev.to/aahnik" > <img src = "https://github.com/aahnik/aahnik/blob/master/svg_assets/dev_to.svg?raw=true" alt = "dev_to" width=35> </a>
96+
<a href = "https://stackoverflow.com/users/13523305/aahnik-daw" > <img src = "https://github.com/aahnik/aahnik/blob/master/svg_assets/stackoverflow.svg?raw=true" alt = "stackoverflow" width=35> </a>
97+
<a href = "https://telegram.me/AahnikD" > <img src = "https://github.com/aahnik/aahnik/blob/master/svg_assets/telegram.svg?raw=true" alt = "telegram" width=35> </a>
98+
<a href = "https://www.youtube.com/channel/UCcEbN0d8iLTB6ZWBE_IDugg" > <img src = "https://github.com/aahnik/aahnik/blob/master/svg_assets/youtube.svg?raw=true" alt = "youtube" width=35> </a>

‎Scripts/Bots/runPython_bot/bot/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'''
44

55
# expressions which are banned
6-
banned = ['quit', 'input', 'open', 'import', 'exit']
6+
banned = ['quit', 'input', 'open', 'import', 'exit','exec']
77

88
# timeout in seconds
99
TIMEOUT = 6

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /