fanesz

Results 11 comments of fanesz

i just did that, but it still show this ``` [2021-10-12T14:07:38.291] [INFO] NOTEBLOCK - [REPLIT ENVIRONMENT DETECTED] [STARTING WEBSERVER] /home/runner/noteblock-2/node_modules/discord.js/src/client/Client.js:228 if (!token || typeof token !== 'string') throw new Error('TOKEN_INVALID');...

it says : ``` console.log(process.env.DISCORD_TOKEN) bash: syntax error near unexpected token `process.env.DISCORD_TOKEN' ```

sorry im new, i try to put `console.log(process.env.DISCORD_TOKEN)` in src/main.js but still says the same error (i've tried put it at the first line, middle line, and last line)

no, i didn't see any token when i run with that thing in my main.js still show same error

also i've try self hosting it, and work perfectly. So i think the problem is with replit.

i just host it at HEROKU.com and work perfectly, but i still want host it at replit because heroku have limit usage. is that any command for .replit file to...

yes, i input : key -> `.env` value -> `DISCORD_TOKEN=xxxx`

**SOLVED** so i just do `npm install` after cloning, then make `.env` with the things inside `src` folder then in main.js i change from : `require('dotenv').config();` to ``` const path...

+1, Why not much people support this? still happening in `1.14.1b (Firefox 140.0.2) (64-bit)` can't be reproduce on firefox and chrome. picture/videos that uploaded from google chat is forced to...

missread, suppose to be ~db.execute~ db.select