Skip to content

Commit

Permalink
add id
Browse files Browse the repository at this point in the history
  • Loading branch information
Kry9toN committed Jan 23, 2021
1 parent efceb97 commit b435748
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/command/id.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
name: 'id',
cooldown: 10,
description: 'Untuk menampilkan id group/user\nPenggunaan: !id',
execute (client, chat, pesan) {
const uid = client.sender
if (client.isGroup) {
const gid = client.groupId
client.reply(`*ID* kamu : ${uid}\nGroup *ID* : ${gid}`)
} else {
client.reply(`*ID* kamu : ${uid}`)
}
}
}

0 comments on commit b435748

Please sign in to comment.