Skip to content

tensor-hq/salesbot-discord-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tensor Discord Template

Welcome to the Tensor Discord Template!

This demo provides a simple foundation for working with the Tensor API, use it to get started building NOW!

Sample Screenshot

Prerequisites

Installation

Clone the repo

git clone tensor-hq/discord-salesbot-template 
cd discord-salesbot-template 

Install Dependencies

npm install

Set environment variables in .env

// Tensor API Key
API_KEY=
// Secret token of your Bot
BOT_TOKEN=
// Guild ID (Discord Server ID)
GUILD_ID=
// Channel ID of the Server
CHANNEL_ID=
// Tensor WSS URL
WSS_URL=
// Collection slug you want to listen to
SLUG=

Start the bot

npx ts-node main.ts

Join the bot to your Discord

Review the Discord documentation to see how to join your bot to a discord

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published