Skip to content

A collection of discord bot codes for Solana marketplaces, DeFi, and more.

Notifications You must be signed in to change notification settings

bkhzhou/Solana-Codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Discord Bot Codes for Solana

A collection of discord bot codes for Solana marketplaces, DeFi, and more.

Discord JupAg Pinger

A simple code to notify/ping you when a token is live to swap. (DeFi)

MagicEden Collection Activity

All sales within the collection will be sent via Discord embed which monitors every 15 seconds or 15000 milliseconds.

Installation

Packages

  • DiscordJS
  • Request
$ npm install discord.js
$ npm install request

Files

Must have config.json which utilizes your Discord bot token (DO NOT SHARE)

{
  "token": "INSERT-TOKEN-HERE"
}

Discord Jup.ag Pinger

DiscordJupAgPinger.js Replace 'test' with your desire channel name.

const channel = client.channels.cache.find(channel => channel.name === 'test'); //Replace with your discord channel name

Replace trackToken to your desire token.

const trackToken = 'BWXrrYFhT7bMHmNBFoQFWdsSgA3yXoAnMhDK6Fn1eSEn' //Replace token you are looking for

MagicEden Collection Activity

MagicEdenCollectionActivity.js Replace const collection to your desire collection

const collection = 'solana_monkey_business';    //collection ending of link ie: https://magiceden.io/marketplace/solana_monkey_business

Replace 'test' with your desire channel name.

const channel = client.channels.cache.find(channel => channel.name === 'test'); //Replace with your discord channel name

About

A collection of discord bot codes for Solana marketplaces, DeFi, and more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published