Compare commits
5 Commits
03c277d2ce
...
6a500391bf
Author | SHA1 | Date |
---|---|---|
Can202 | 6a500391bf | |
Can202 | 7a0eb97451 | |
Can202 | ed0c5ae245 | |
Can202 | 5dc9eed07d | |
Can202 | 8b5deef286 |
Binary file not shown.
After Width: | Height: | Size: 144 KiB |
Binary file not shown.
After Width: | Height: | Size: 132 KiB |
10
init.py
10
init.py
|
@ -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])
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 90 KiB |
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
Binary file not shown.
After Width: | Height: | Size: 230 KiB |
Loading…
Reference in New Issue