CassidyBoT is created by Liane Cagara and is initially a Facebook bot but has evolved into a WebSocket and HTTP API, making it versatile and capable of running on the web or anywhere.
- Node.js
- npm (Node Package Manager)
- MongoDB
-
Clone the repository:
git clone https://github.com/lianecagara/CassidyBoT-Clean.git cd CassidyBoT-Clean -
Install the dependencies:
npm install
-
Create a
.envfile in the root directory and add the following:MONGO_URI="replace with the mongodb uri"
-
To deploy the bot, simply run:
npm start
-
FCA Handler: Provides functionality for Facebook Chat API.
- This repo is a fork from the main repo and will have new features bundled faster than the main repo (and may include some bugs).
- See the main repo here.
const login = require("fb-chat-api-temp"); // Create simple echo bot login({email: "FB_EMAIL", password: "FB_PASSWORD"}, (err, api) => { if(err) return console.error(err); api.listen((err, message) => { api.sendMessage(message.body, message.threadID); }); });
-
Styler Handler: A JavaScript utility designed to apply dynamic styling to text content.
export class Style { title = { content: "Example Title", line_top: "default", line_bottom: "20chars", text_font: "bold", text_kerning: "5", text_prefix: "[", text_suffix: "]", text_trim: true }, content = { content: null, line_top: "hidden", line_bottom: "default", text_font: "fancy", text_kerning: "3", text_prefix: "", text_suffix: "", text_trim: false, number_font: "bold" }, bottomField = { content: "Cool Info", line_top: "7chars", text_font: "fancy_italic", text_kerning: "0" } }
- Widespace
- 𝐒𝐞𝐫𝐢𝐟
- 𝓗𝓪𝓷𝓭𝔀𝓻𝓲𝓽𝓲𝓷𝓰
- 𝑺𝒄𝒓𝒊𝒑𝒕𝒃𝒐𝒍𝒅
- 𝑆𝑐𝑟𝑖𝑝𝑡
- 𝚃𝚢𝚙𝚎𝚠𝚛𝚒𝚝𝚎𝚛
- 𝗕𝗼𝗹𝗱
- 𝖥𝖺𝗇𝖼𝗒
- 𝐌𝚘𝚘𝚍𝚢
- 𝘽𝙤𝙡𝙙 𝙄𝙩𝙖𝙡𝙞𝙘
- 𝘍𝘢𝘯𝘤𝘺 𝘐𝘵𝘢𝘭𝘪𝘤
- 𝔻𝕠𝕦𝕓𝕝𝕖 𝕊𝕥𝕣𝕦𝕔𝕜
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to Schmavery for the original Facebook Chat API.