├── .gitignore
├── package.json
├── LICENSE
├── README.md
└── girlfriend-text.js
/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules
2 | package-lock.json
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "prompt-sync": "^4.2.0",
4 | "venom-bot": "^3.0.11"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 Owen
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Girlfriend/Boyfriend Morning / Night Text!
2 |
3 | Too Lazy to Send your Girlfriend Daily Good Morning and Good Night Messages? Here's a Solution :) A Simple Script that sends whatsapp greetings to your loved ones :)
4 |
5 | ## PLEASE GIVE IT A STAR IF YOU LIKE MY WORK, THANKS <3
6 |
7 |
8 |
9 | ## DISCLAIMER
10 | This bot is created for educational purposes only, I am not responsible for the misuse of this product.
11 |
12 | ## REQUIREMENTS
13 | 1. Node.js: https://nodejs.org/en/download/
14 | 2. npm install venom
15 | 3. npm install prompt-sync
16 |
17 | ## Features:
18 | 1. Created with Venom.
19 | 2. Easy to Use.
20 | 3. Added Inputs So its is User friendly.
21 | 4. Its headerless so you can upload it on heroku and use it for free.
22 | 5. Send Random Morning and Night text to gf and bf
23 |
24 | ## Note (Installation):
25 | 1. Download and install Node.js
26 | 2. Now Simply install the packages (npm install)
27 | 3. Now run the file by: node filename.js
28 | 4. Enjoy :)
29 |
30 | ### Keywords:
31 | 1. Text your girlfriend Good Morning automatically.
32 | 2. Send message to your girlfriend or boyfriend auto.
33 | 3. Send Mesaages Good Morning Babe, Good Morning Love, Good Morning Cutie.
34 | 4. Send Text to the girlfriend in morning automatically bot.
35 | 5. Send Random messages to girlfriend and boyfriend
36 |
37 | ## Have a nice day :)
38 |
--------------------------------------------------------------------------------
/girlfriend-text.js:
--------------------------------------------------------------------------------
1 | const venom = require("venom-bot");
2 |
3 | venom
4 | .create()
5 | .then((client) => start(client))
6 | .catch((erro) => {
7 | console.log(erro);
8 | });
9 |
10 | const compareTime = (hour, minute, second) =>
11 | new Date(Date.now()).getHours() === Number(hour) &&
12 | new Date(Date.now()).getMinutes() === Number(minute) &&
13 | new Date(Date.now()).getSeconds() === Number(second);
14 |
15 |
16 | function start(client) {
17 | const prompt = require("prompt-sync")({ sigint: true });
18 | // Good Morning Messages
19 | const GM = ["Good Morning Babe <3", "Good Morning Dear", "Good Morning Love <3"];
20 | // Good Night Messages
21 | const GN = ["Good Night Babe <3", "Good Night Dear", "Gn, Sweet Dreams"];
22 | // math random
23 | const random = Math.floor(Math.random() * GM.length);
24 | const random1 = Math.floor(Math.random() * GN.length);
25 |
26 | // inputs
27 | const newpnumber = prompt("Enter your girlfriend/boyfriend phone number with code (91) : ");
28 | const newhour = prompt("Enter Morning Hour do you want to send Message? : ");
29 | const newmin = prompt("Enter Morning Minutes do you want to send Message? : ");
30 | const newhour1 = prompt("Enter Night Hour do you want to send Message? : ");
31 | const newmin1 = prompt("Enter Night Minutes do you want to send Message? : ");
32 |
33 | console.log("Successfully Started")
34 |
35 | function startLooking() {
36 | if(compareTime(newhour, newmin, 1)) {
37 | sendMessage();
38 | }
39 | else if (compareTime(newhour1, newmin1, 1)) {
40 | sendMessage1();
41 | }
42 | }
43 |
44 | setInterval(startLooking, 1000);
45 |
46 | const sendMessage = () => {
47 | client
48 | .sendText(`${newpnumber}@c.us`, (random, GM[random]))
49 | .then((result) => {
50 | console.log("Result: ", result);
51 | })
52 | .catch((erro) => {
53 | console.error("Error when sending: ", erro);
54 | });
55 | };
56 |
57 | const sendMessage1 = () => {
58 | client
59 | .sendText(`${newpnumber}@c.us`, (random, GN[random1]))
60 | .then((result) => {
61 | console.log("Result: ", result);
62 | })
63 | .catch((erro) => {
64 | console.error("Error when sending: ", erro);
65 | });
66 | };
67 |
68 | }
69 |
--------------------------------------------------------------------------------