Skip to content

Commit 8141f90

Browse files
committed
pyperclip mod
1 parent 6d292e3 commit 8141f90

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

pywhatkit/whats.py

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717

1818

1919
def sendwhatmsg_instantly(
20-
phone_no: str,
21-
message: str,
22-
wait_time: int = 30,
23-
tab_close: bool = False,
24-
close_time: int = 3,
20+
phone_no: str,
21+
message: str,
22+
wait_time: int = 30,
23+
tab_close: bool = False,
24+
close_time: int = 3,
2525
) -> None:
2626
"""Send WhatsApp Message Instantly"""
2727

@@ -120,13 +120,13 @@ def sendwhatdoc_immediately(
120120

121121

122122
def sendwhatmsg(
123-
phone_no: str,
124-
message: str,
125-
time_hour: int,
126-
time_min: int,
127-
wait_time: int = 30,
128-
tab_close: bool = False,
129-
close_time: int = 3,
123+
phone_no: str,
124+
message: str,
125+
time_hour: int,
126+
time_min: int,
127+
wait_time: int = 30,
128+
tab_close: bool = False,
129+
close_time: int = 3,
130130
) -> None:
131131
"""Send a WhatsApp Message at a Certain Time"""
132132
if not core.check_number(number=phone_no):
@@ -164,13 +164,13 @@ def sendwhatmsg(
164164

165165

166166
def sendwhatmsg_to_group(
167-
group_id: str,
168-
message: str,
169-
time_hour: int,
170-
time_min: int,
171-
wait_time: int = 30,
172-
tab_close: bool = False,
173-
close_time: int = 3,
167+
group_id: str,
168+
message: str,
169+
time_hour: int,
170+
time_min: int,
171+
wait_time: int = 30,
172+
tab_close: bool = False,
173+
close_time: int = 3,
174174
) -> None:
175175
"""Send WhatsApp Message to a Group at a Certain Time"""
176176

@@ -202,11 +202,11 @@ def sendwhatmsg_to_group(
202202

203203

204204
def sendwhatmsg_to_group_instantly(
205-
group_id: str,
206-
message: str,
207-
wait_time: int = 30,
208-
tab_close: bool = False,
209-
close_time: int = 3,
205+
group_id: str,
206+
message: str,
207+
wait_time: int = 30,
208+
tab_close: bool = False,
209+
close_time: int = 3,
210210
) -> None:
211211
"""Send WhatsApp Message to a Group Instantly"""
212212

@@ -219,13 +219,13 @@ def sendwhatmsg_to_group_instantly(
219219

220220

221221
def sendwhatsmsg_to_all(
222-
phone_nos: List[str],
223-
message: str,
224-
time_hour: int,
225-
time_min: int,
226-
wait_time: int = 30,
227-
tab_close: bool = False,
228-
close_time: int = 3,
222+
phone_nos: List[str],
223+
message: str,
224+
time_hour: int,
225+
time_min: int,
226+
wait_time: int = 30,
227+
tab_close: bool = False,
228+
close_time: int = 3,
229229
):
230230
for phone_no in phone_nos:
231231
sendwhatmsg(
@@ -234,14 +234,14 @@ def sendwhatsmsg_to_all(
234234

235235

236236
def sendwhats_image(
237-
receiver: str,
238-
img_path: str,
239-
time_hour: int,
240-
time_min: int,
241-
caption: str = "",
242-
wait_time: int = 30,
243-
tab_close: bool = False,
244-
close_time: int = 3,
237+
receiver: str,
238+
img_path: str,
239+
time_hour: int,
240+
time_min: int,
241+
caption: str = "",
242+
wait_time: int = 30,
243+
tab_close: bool = False,
244+
close_time: int = 3,
245245
) -> None:
246246
"""Send Image to a WhatsApp Contact or Group at a Certain Time"""
247247

0 commit comments

Comments
 (0)