This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |