Skip to content

coodos/touchpoint-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

touchpoint-bot

Matchmaking bot to create a channel for specific participants only

usage:
!connect @person1 @person2 [...] channel name

Requirements:

  • Know how to setup a Discord bot, and a Discord bot ID
  • Node ≥ 16
  • pm2

Setup

Clone repo

Create src/config.ts with the following content

// perms = 268437552
// https://discord.com/api/oauth2/authorize?client_id=[DISCORD BOT ID]&permissions=268437552&scope=bot

export const BOT_TOKEN = ""; //Discord BOT_TOKEN
export const TOUCHPOINT_CATEGORY = ""; //Category ID under which the new channels will be created
export const BASE_ROLES = []; //Should there be a role for verified people (captchabot, etc...) insert the role ID here

Install modules and typescript
npm i
npm i -g typescript

Compile
tsc

Start with pm2
pm2 start dist/bot.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published