1.0.4 • Published 4 years ago

tranfer-credit-probot-check v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Installtion

npm i tranfer-credit-probot-check

Example usage

const Discord = require('discord.js')
const client =  new Discord.Client();

const buy = require('tranfer-credit-probot-check')

client.on('ready', async () => {
    console.log(client.user.tag)

})

client.on('message', async message => {
    if(message.content.includes('buy')) {
        message.channel.send('transfer the credit to the owner')
         const check = await buy(message, {owner: '622486784038666242', price:1})
         if(check) {
             message.channel.send('done')
         }
    }
})



client.login('token')
1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago