tranfer-credit-probot-check

1.0.4 • Public • Published

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')

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i tranfer-credit-probot-check

      Weekly Downloads

      29

      Version

      1.0.4

      License

      ISC

      Unpacked Size

      2.41 kB

      Total Files

      3

      Last publish

      Collaborators

      • ra3d
      • 7xr