Jer
Jer
Explore posts from servers
VVALORANT
Created by Jer on 4/14/2025 in #community-help
RR refund but RR doesnt even change lol
No description
4 replies
DIAdiscord.js - Imagine an app
Created by Jer on 7/30/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'isChatInputCommand')
idk what happened, it was working fine, then I added client parameter what it was:
module.exports = {
name: Events.InteractionCreate,
once: false,
async execute(interaction) {
if(!interaction.isChatInputCommand()) return;
........
module.exports = {
name: Events.InteractionCreate,
once: false,
async execute(interaction) {
if(!interaction.isChatInputCommand()) return;
........
what it's now:
module.exports = {
name: Events.InteractionCreate,
once: false,
async execute(client, interaction) {
if(!interaction.isChatInputCommand()) return;
....
module.exports = {
name: Events.InteractionCreate,
once: false,
async execute(client, interaction) {
if(!interaction.isChatInputCommand()) return;
....
13 replies