π Suika is a WhatsApp bot for automation purposes.
Something like that.
To install the necessary dependencies, run:
npm install
Example plugin on ping.js :
import { formatElapse } from "../../src/utils.js";
/** @type {import('../../src/plugin.js').Plugin} */
export const on = { // must export with 'on' named variable
cmds: ["ping", "p"],
timeout: 120,
checks: [
(m) => { return m.fromMe; }
],
/** @param {import('../../src/ctx.js').Ctx} [m] - context object */
exec: (m) => {
const start = Date.now();
const est = Math.floor(start - m.timestamp);
m.reply({ text: formatElapse(est) });
}
};
You can read at plugin.js and ctx.js for more detail options.
To start the development server, use:
npm run dev
To start the production server, use:
npm start
dev
: Starts the development server with nodemon.start
: Starts the production server.
@google/generative-ai
: ^0.22.0baileys
: github:WhiskeySockets/baileys#e254718pino
: ^9.6.0qrcode-terminal
: ^0.12.0
This project has been developed with the assistance of the following AI models:
- Claude 3.5 Sonnet
- Claude 3.7
- DeepSeek R1
- Gemini 2 Flash
- GitHub Copilot
- GPT-o1
- Cells of Brain
This project is licensed under the Mozilla Public License 2.0. See the LICENSE file for details.
- Suika (γΉγ€γ«) means "watermelon" in Japanese! π
- This bot has sent over 1,000,000 messages (and counting!)
- Sometimes Suika dreams of electric sheep when idle
- If Suika were a person, it would probably enjoy dad jokes and puns
- Legend says if you whisper "sudo make me a sandwich" to Suika at midnight, it actually works