Compare commits

...

5 Commits

Author SHA1 Message Date
Can202 6a500391bf 25 2021-10-07 09:00:54 -03:00
Can202 7a0eb97451 nic 2021-10-06 20:19:00 -03:00
Can202 ed0c5ae245 addmedia 2021-10-06 20:17:19 -03:00
Can202 5dc9eed07d media 2021-10-06 20:16:15 -03:00
Can202 8b5deef286 meme 2021-10-05 07:58:23 -03:00
6 changed files with 8 additions and 2 deletions

BIN
cats/1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

BIN
cats/2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

10
init.py
View File

@ -32,6 +32,8 @@ def send_cat(update: Update, context: CallbackContext) -> None:
"https://okdiario.com/img/2020/10/15/-como-es-el-gato-de-cabeza-plana_.jpg",
"https://demascotas.info/wp-content/uploads/2018/10/cat-3387091_1280-1024x682.jpg",
"https://www.tvn.cl/incoming/gato2jpg-4256835/alternates/BASE_LANDSCAPE/gato2.JPG",
"https://raw.githubusercontent.com/Can202/telegrambottest/master/cats/1.jpg",
"https://raw.githubusercontent.com/Can202/telegrambottest/master/cats/2.jpg",
]
random_number = random.randrange(len(path))
update.message.reply_photo(path[random_number])
@ -69,7 +71,10 @@ def memes():
"https://raw.githubusercontent.com/Can202/telegrambottest/master/memes/p%20(19).jpg",
"https://raw.githubusercontent.com/Can202/telegrambottest/master/memes/p%20(20).jpg",
"https://raw.githubusercontent.com/Can202/telegrambottest/master/memes/p%20(21).jpg",
"https://raw.githubusercontent.com/Can202/telegrambottest/master/memes/p%20(22).jpg"
"https://raw.githubusercontent.com/Can202/telegrambottest/master/memes/p%20(22).jpg",
"https://raw.githubusercontent.com/Can202/telegrambottest/master/memes/p%20(23).jpg",
"https://raw.githubusercontent.com/Can202/telegrambottest/master/memes/p%20(24).jpg",
"https://raw.githubusercontent.com/Can202/telegrambottest/master/memes/p%20(25).jpg"
]
return path
@ -86,7 +91,8 @@ def send_nc(update: Update, context: CallbackContext):
path = [
"http://cdn1-www.mandatory.com/assets/uploads/2017/03/0-1-e1490268908256.jpg",
"https://raw.githubusercontent.com/Can202/telegrambottest/master/nicolas/1.jpg",
"https://raw.githubusercontent.com/Can202/telegrambottest/master/nicolas/2.jpg"
"https://raw.githubusercontent.com/Can202/telegrambottest/master/nicolas/2.jpg",
"https://raw.githubusercontent.com/Can202/telegrambottest/master/nicolas/3.jpg"
]
random_number = random.randrange(len(path))
update.message.reply_photo(path[random_number])

BIN
memes/p (24).jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
memes/p (25).jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
nicolas/3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB