MatthewStanciu / blairhackclub-scrappy

Discord bot that manages Blair Hack Club's #scrapbook! Inspired by https://github.com/hackclub/scrappy.

Home Page:https://blair.hackclub.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scrappy

Work in progress!

Environment variables

  • AIRTABLE_BASE_ID
  • AIRTABLE_API_KEY
  • CLIENT_ID
  • TOKEN
  • GUILD_ID
  • SCRAPBOOK_CHANNEL_ID

Airtable integration

This bot integrates with an Airtable base to store and manage data. The base should have the following tables with the following fields:

  • Scraps table
    • Scrap ID: Autonumber
    • Created time: Created time
    • Discord Message ID: Single line text
    • Discord Thread ID: Single line text
    • Description: Long text
    • Attachments: Attachment
    • Tags: Multiple select (not implemented yet)
    • Mentions: Link to Users, Allow linking to multiple records (not implemented yet)
    • User: Link to Users
    • User Record ID: Lookup, User, Record ID
    • Username (from User): Lookup, User, Username
    • Avatar (from User): Lookup, User, Avatar
  • Users table
    • Username: Single line text
    • Record ID: Formula, RECORD_ID() (optional)
    • Discord UID: Single line text
    • Avatar: Attachment,
    • GitHub User: Single line text (not implemented yet)
    • Website: Single line text (not implemented yet)
    • Scraps: Link to Scraps, Allow linking to multiple records
    • Mentions: Link to scraps, Allow linking to multiple records (not implemented yet)

Read more about Airtable's API: https://airtable.com/api

About

Discord bot that manages Blair Hack Club's #scrapbook! Inspired by https://github.com/hackclub/scrappy.

https://blair.hackclub.com


Languages

Language:JavaScript 98.9%Language:Dockerfile 1.1%