Skip to content

SadMap/discord-pkt-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord 1PKT Watcher v1.0.0

This project helps you get better information about your wallet in discord!

Example

Setup

1 - Install Node.JS to your computer.
https://nodejs.org/en/download/current/

2 - Install project to your computer.
git clone https://github.com/SadMap/discord-pkt-watcher.git

3 - Create a Discord WebHook

  • Go to channel settings
    Channel Setting Example
  • Click integrations
    Integrations Example
  • Click Create WebHook
    Webhooks Example
  • Give it a name and copy webhook url
    Webhook Settings
  • Open webhook url in your browser. Copy ID and Token
    Webhook Informations

4 - Setup config.js

  • Open Config.JS file
    Change WebHookID with your Webhook ID (you can get it with opening webhook url in browser)
    Change WebHookToken with you Webhook token (you can get it with opening webhook url in browser)
    Change PktWalletAddress with your pkt1 Wallet Address (you can get it from creating a wallet Click Me)

5 - Install Modules

  • Open CMD or Terminal in project directory
  • Run npm i

6 - Run Project

  • Open CMD or Terminal in project directory
  • Run node index.js

Multiple Wallet

  • Change config to
const discord = require('discord.js')
const wallet1 = {hook:new discord.WebhookClient('WebHookID','WebHookToken'),wallet:'PktWalletAddress'}
const wallet2 = {hook:new discord.WebhookClient('WebHookID','WebHookToken'),wallet:'PktWalletAddress'}
module.exports = [wallet1,wallet2]

Edit WebHookID, WebHookToken and PktWalletAddress lines

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages