-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathallfake.js.bak
198 lines (192 loc) · 6.05 KB
/
allfake.js.bak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
let fs = require("fs")
let handler = async(m, { conn, args, text, usedPrefix: _p }) => {
const ftoko = {
key: {
fromMe: false,
participant: `[email protected]`, ...(m.chat ? { remoteJid: "[email protected]" } : {})
},
message: {
"productMessage": {
"product": {
"productImage":{
"mimetype": "image/jpeg",
"jpegThumbnail": fs.readFileSync('./src/mikey.jpg') //Gambarnye
},
"title": "RadBotZ", //Kasih namalu
"description": "SELF BOT",
"currencyCode": "USD",
"priceAmount1000": "2000",
"retailerId": "Ghost",
"productImageCount": 1
},
"businessOwnerJid": `[email protected]`
}
}
}
//FAKEREPLY TROLI
const ftroli = {
key : {
participant : '[email protected]'
},
message: {
orderMessage: {
itemCount : 1,
status: 1,
surface : 1,
message: 'Raditya', //Kasih namalu
orderTitle: 'Bang',
thumbnail: fs.readFileSync('./src/mikey.jpg'), //Gambarnye
sellerJid: '[email protected]'
}
}
}
//FAKEREPLY LOCATION
const flokasi = {
key : {
participant : '[email protected]'
},
message: {
locationMessage: {
name: 'Russia',
jpegThumbnail: fs.readFileSync('./src/mikey.jpg')
}
}
}
const floc = {
key:
{ fromMe: false,
participant: `[email protected]`, ...(m.chat ?
{ remoteJid: "status@broadcast" } : {}) },
message: { "locationMessage": { "title":"jakarta","h": `aloo`, 'jpegThumbnail': fs.readFileSync('./src/mikey.jpg')}}
}
const fliveLoc = {
key:
{ fromMe: false,
participant: `[email protected]`, ...(m.chat ?
{ remoteJid: "status@broadcast" } : {}) },
message: { "liveLocationMessage": { "caption":"ANTIBOT","h": `aloo`, 'jpegThumbnail': fs.readFileSync('./src/mikey.jpg')}}
}
const fliveLoc2 = {
key:
{ fromMe: false,
participant: `[email protected]`, ...(m.chat ?
{ remoteJid: "status@broadcast" } : {}) },
message: { "liveLocationMessage": { "title": "ANTIBOT","h": `aloo`, 'jpegThumbnail': fs.readFileSync('./src/mikey.jpg')}}
}
//FAKEREPLY KONTAK
const fcon = {
key:
{ fromMe: false,
participant: `[email protected]`, ...(m.chat ?
{ remoteJid: "status@broadcast" } : {}) },
message: { "contactMessage": { "title":"sri","h": `haloo`, 'jpegThumbnail': fs.readFileSync('./src/mikey.jpg')}}
}
const fcona = {
key:
{ fromMe: false,
participant: `[email protected]`, ...(m.chat ?
{ remoteJid: "status@broadcast" } : {}) },
message: { "contactsArrayMessage": { "title":"antibot","h": `aloo`, 'jpegThumbnail': fs.readFileSync('./src/mikey.jpg')}}
}
const bugcon = { key: { fromMe: false, participant: `[email protected]`, ...(m.chat ? { remoteJid: "status@broadcast" } : {}) }, message: { "contactMessage": { "vcard": ""}}}
//FAKEREPLY DOCUMENT
const fdocs = {
key : {
participant : '[email protected]'
},
message: {
documentMessage: {
title: 'Halo bang',
jpegThumbnail: fs.readFileSync('./src/mikey.jpg')
}
}
}
//FAKEREPLY VIDEO
const fvideo = {
key: {
fromMe: false,
participant: `[email protected]`, ...(m.chat ?
{ remoteJid: "[email protected]" } : {})
},
message: {
"videoMessage": {
"title":"hallo bang",
"h": `Hmm`,
'seconds': '99999',
'caption': 'Halo bang',
'jpegThumbnail': fs.readFileSync('./src/mikey.jpg')
}
}
}
//FAKEREPLY GROUPINVITE
const fgclink = {
"key": {
"fromMe": false,
"participant": "[email protected]",
"remoteJid": "[email protected]"
},
"message": {
"groupInviteMessage": {
"groupJid": "[email protected]",
"inviteCode": "mememteeeekkeke",
"groupName": "Mengter",
"caption": "Halo bang jagoo",
'jpegThumbnail': fs.readFileSync('./src/mikey.jpg')
}
}
}
//FAKEREPLY GIF
const fgif = {
key: {
fromMe: false,
participant: `[email protected]`, ...(m.chat ?
{ remoteJid: "[email protected]" } : {})
},
message: {
"videoMessage": {
"title":"hallo bang",
"h": `Hmm`,
'seconds': '99999',
'gifPlayback': 'true',
'caption': 'Halo bang',
'jpegThumbnail': fs.readFileSync('./src/mikey.jpg')
}
}
}
//FAKEREPLY TEXT WITH THUMBNAIL
const ftextt = {
key: {
fromMe: false,
participant: `[email protected]`, ...(m.chat ?
{ remoteJid: "[email protected]" } : {})
},
message: {
"extendedTextMessage": {
"text":"hallo bang",
"title": `Hmm`,
'jpegThumbnail': fs.readFileSync('./src/mikey.jpg')
}
}
}
//FAKEREPLY VN
const fvn = {
key: {
fromMe: false,
participant: `[email protected]`, ...(m.chat ?
{ remoteJid: "[email protected]" } : {})
},
message: {
"audioMessage": {
"mimetype":"audio/ogg; codecs=opus",
"seconds": "${second}",
"ptt": "true"
}
}
}
let tes = await conn.sendMessage(m.chat, `ini bwang`, 'conversation', { sendEphemeral: true, quoted: fvn })
setTimeout(() => {
conn.deleteMessage(m.chat, tes.key)
}, 3000)
}
handler.command = /^(tesfake)$/i
module.exports = handler