Skip to content

Commit 85da037

Browse files
authored
Update handler.js
1 parent fb9ec15 commit 85da037

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

handler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,14 +679,14 @@ export async function participantsUpdate({ id, participants, action }) {
679679
} finally {
680680
text = (action === 'add' ? (chat.sWelcome || this.welcome || conn.welcome || 'Welcome, @user!').replace('@subject', await this.getName(id)).replace('@desc', groupMetadata.desc?.toString() || 'unknow') :
681681
(chat.sBye || this.bye || conn.bye || 'Bye, @user!')).replace('@user', `${this.getName(user)}`)
682-
let wel = API('melcanz', '/welcome', 'apikey', {
682+
let wel = API('hardianto', '/api/welcomer2', {
683683
profile: pp,
684684
name: await this.getName(user),
685685
bg: 'https://telegra.ph/file/46b7a95313dbb01b8ac43.jpg',
686686
namegb: await this.getName(id),
687687
member: groupMetadata.participants.length
688688
})
689-
let lea = API('melcanz', '/goodbye2', 'apikey', {
689+
let lea = API('hardianto', '/api/goodbye3', {
690690
profile: pp,
691691
name: await this.getName(user),
692692
bg: 'https://telegra.ph/file/a4afb7d0c165e4314bd8c.jpg',

0 commit comments

Comments
 (0)