Spaces:
Paused
Paused
File size: 488 Bytes
bb69f9b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
const { bot } = require('../lib/')
bot(
{
pattern: 'fullpp ?(.*)',
desc: 'set full size profile picture',
type: 'user',
},
async (message, match) => {
if (!message.reply_message || !message.reply_message.image)
return await message.send('*Reply to a image.*')
await message.updateProfilePicture(
await message.reply_message.downloadMediaMessage(),
message.client.user.jid
)
return await message.send('_Profile Picture Updated_')
}
)
|