I wanted to create a script, which would send data from the google form to the discord webhook in google apps script. But I receive the error in the first line:
import { client as _client } from 'discord.js';
const client = new _client();
Here is the error:
Syntax error: SyntaxError: Cannot use import statement outside a module line: 1 file: Code.gs