Movatterモバイル変換


[0]ホーム

URL:


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

Commit846419a

Browse files
committed
first
0 parents  commit846419a

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

‎.vscode/settings.json‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"workbench.colorCustomizations": {
3+
"activityBar.activeBackground":"#3333ff",
4+
"activityBar.background":"#3333ff",
5+
"activityBar.foreground":"#e7e7e7",
6+
"activityBar.inactiveForeground":"#e7e7e799",
7+
"activityBarBadge.background":"#600000",
8+
"activityBarBadge.foreground":"#e7e7e7",
9+
"commandCenter.border":"#e7e7e799",
10+
"sash.hoverBorder":"#3333ff",
11+
"statusBar.background":"#0000ff",
12+
"statusBar.foreground":"#e7e7e7",
13+
"statusBarItem.hoverBackground":"#3333ff",
14+
"statusBarItem.remoteBackground":"#0000ff",
15+
"statusBarItem.remoteForeground":"#e7e7e7",
16+
"titleBar.activeBackground":"#0000ff",
17+
"titleBar.activeForeground":"#e7e7e7",
18+
"titleBar.inactiveBackground":"#0000ff99",
19+
"titleBar.inactiveForeground":"#e7e7e799"
20+
}
21+
}

‎__pycache__/openai.cpython-310.pyc‎

682 Bytes
Binary file not shown.

‎chatbot.py‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
importpywhatkit
2+
importtime
3+
4+
defsend_whatsapp_message(message,phone_number,hour,minute):
5+
# Menghitung waktu untuk pengiriman pesan
6+
now=time.localtime()
7+
year,month,day=now.tm_year,now.tm_mon,now.tm_mday
8+
send_time= (year,month,day,hour,minute,0,0,0,-1)
9+
10+
# Mengirim pesan WhatsApp ke nomor telepon
11+
pywhatkit.sendwhatmsg(phone_number,message,hour,minute)
12+
13+
# Menunggu pengiriman pesan selesai
14+
whileTrue:
15+
iftime.localtime()>=send_time:
16+
break
17+
time.sleep(1)
18+
19+
# Silahkan ganti nomor wa, pesan, dan waktu sesuai kebutuhan di bawah ini!
20+
send_whatsapp_message("Tes","+6285646042925",11,28)
21+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp