This Discord NFT Sales Bot is a tool built with nodeJS to facilitate and streamline the process of making NFT sale announcments within Discord communities on the Base Ecosystem.
NodeJS: Any version, although I prefer LTS (v20 at time of writing)
MongoDB: Running locally
Discord Bot Token: FOLLOW VIDEO UNTIL 2:00
Discord Channel ID: HOW TO FIND YOUR CHANNEL ID
To get the bot up and running, follow the steps below:
1. Clone the bot repository: git clone https://github.com/KingSimpa69/fella_sales_bot.git
2. Navigate to the project directory: cd fella_sales_bot
3. Install the bot dependancies with the package manager of your choice:
Using pnpm (recommended):
- If you don't have pnpm installed, you can install it globally by running: npm install -g pnpm
- Then, install project dependencies: pnpm install
Using yarn:
- If you don't have yarn installed, you can install it globally by running: npm install -g yarn
- Then, install project dependencies: yarn install
Using npm:
- Install project dependencies: npm install
4. Open "settings.json.example" with your favorite text editor, modify the following values:
"NFT_CONTRACT":"0x0000000000000000000000",
"DISCORD_TOKEN":"694206942069420",
"DISCORD_CHANNEL_ID":"694206942069420",
5. Save and rename the file to "settings.json"
6. Run the bot via your favorite package manager:
-
Using pnpm:
pnpm start
-
Using yarn:
yarn start
-
Using npm:
npm run start
7. To shutdown the bot, press CTRL + C
8. Customize the bot for your project by modifying "discordBot.js" where applicable!