The error:
TypeError: Cannot read properties of undefined (reading 'add') line 40
I looked everywhere like even in the discord API but nothing. If there is anything I can do better in my code tell me.
If it's necessary I use VSC and node.js.
The member
is a variable and used in if() in the code but it doesn't work.
const { Client , GatewayIntentBits} = require('discord.js')
require('dotenv/config')
var not_stable = "⭕"
var working = "