Skip to content

Instantly share code, notes, and snippets.

View weskerty's full-sized avatar

laWiskaPY weskerty

View GitHub Profile
const { bot, isUrl } = require('../lib/index');
// Use dynamic import for node-fetch
import('node-fetch')
.then((module) => {
const nodeFetch = module.default;
bot(
{
pattern: 'gdrive ?(.*)', // Updated plugin name to gdrive