trying to make better

swadhinbiswas committed 2 years ago
ae296b8
1 parent 308ee70
commit ae296b8
1 file changed
+23 -5
Showing 1 changed file+23-5
▼GithubfetchBot/sendwebhook.py
+23-5
7
7
from gitfunction import GetGitHub
8
8
import requests
9
9
10
-load_dotenv()
11
-WEBHOOK_URL:Final[str]=os.getenv('WEBHOOK_URL')
12
-
13
-
14
-all_massage=GetGitHub.get_repo("python")
10
+python="https://download.logo.wine/logo/Python_(programming_language)/Python_(programming_language)-Logo.wine.png"
11
+java="https://cdn-icons-png.flaticon.com/512/1183/1183618.png"
12
+javascript="https://cdn-icons-png.flaticon.com/512/919/919828.png"
13
+c="https://cdn-icons-png.flaticon.com/128/14865/14865856.png"
14
+r="https://cdn-icons-png.flaticon.com/128/13527/13527880.png"
15
+scala="https://cdn-icons-png.flaticon.com/128/6132/6132220.png"
16
+c_plus="https://cdn-icons-png.flaticon.com/128/6132/6132222.png"
17
+juputernotebook="https://cdn-icons-png.flaticon.com/128/14422/14422032.png"
18
+html="https://cdn-icons-png.flaticon.com/128/919/919827.png"
19
+css="https://cdn-icons-png.flaticon.com/128/919/919826.png"
20
+php="https://cdn-icons-png.flaticon.com/128/919/919830.png"
21
+sass="https://cdn-icons-png.flaticon.com/128/919/919831.png"
22
+typescript="https://cdn-icons-png.flaticon.com/128/919/919832.png"
23
+swift="https://cdn-icons-png.flaticon.com/128/919/919833.png"
24
+kotlin="https://cdn-icons-png.flaticon.com/128/1892/1892569.png"
25
+sql="https://cdn-icons-png.flaticon.com/128/2306/2306173.png"
26
+mongodb="https://www.opc-router.de/wp-content/uploads/2021/03/mongodb_thumbnail.png"
27
+postgresql="https://w7.pngwing.com/pngs/441/460/png-transparent-postgresql-plain-wordmark-logo-icon-thumbnail.png"
28
+mariadb="https://cdn-icons-png.flaticon.com/128/5968/5968313.png"
15
29
16
30
31
+load_dotenv()
32
+WEBHOOK_URL:Final[str]=os.getenv('WEBHOOK_URL')
17
33
18
34
19
35
async def foo():
36
+
37
+ all_massage=GetGitHub.get_repo("python")
20
38
async with aiohttp.ClientSession() as session:
21
39
webhook = Webhook.from_url(WEBHOOK_URL, session=session)
22
40
23
41