Ctrl+Z
Ctrl+Z
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
Thank you
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
I solved the problem
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
same
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
No description
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
join at undefined
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
const { ActionRowBuilder, ButtonBuilder, EmbedBuilder, ButtonStyle, ModalBuilder, TextInputBuilder, TextInputStyle } = require('discord.js');
const client = require('../../index')
const db = require('pro.db');
const Discord = require('discord.js')

module.exports = {
name: 'user',
description: 'معرفة معلومات الشخص',
options: [{
name: 'username',
description: 'يوزر الشخص',
type: 6,
required: false
},],


async execute(client, interaction) {

let member = interaction.options.getMember('username');
if (!member) {
member = interaction.user;
}
let embed = new EmbedBuilder()
.setTitle(`معلومات: ${member.username}`)
.setThumbnail(member.displayAvatarURL({ dynamic: true, size: 4096 }))
.setFields(
{ name: 'الدخول الى الدسكورد' , value:`${member.createdAt.toDateString()}`},

{ name: 'joined at' , value: `${member.joinedAt}`}
)
.setFooter({ text:` بطلب من: ${interaction.user.username}` , iconURL: interaction.user.avatarURL() })

interaction.reply({ embeds: [embed] });
}
}
const { ActionRowBuilder, ButtonBuilder, EmbedBuilder, ButtonStyle, ModalBuilder, TextInputBuilder, TextInputStyle } = require('discord.js');
const client = require('../../index')
const db = require('pro.db');
const Discord = require('discord.js')

module.exports = {
name: 'user',
description: 'معرفة معلومات الشخص',
options: [{
name: 'username',
description: 'يوزر الشخص',
type: 6,
required: false
},],


async execute(client, interaction) {

let member = interaction.options.getMember('username');
if (!member) {
member = interaction.user;
}
let embed = new EmbedBuilder()
.setTitle(`معلومات: ${member.username}`)
.setThumbnail(member.displayAvatarURL({ dynamic: true, size: 4096 }))
.setFields(
{ name: 'الدخول الى الدسكورد' , value:`${member.createdAt.toDateString()}`},

{ name: 'joined at' , value: `${member.joinedAt}`}
)
.setFooter({ text:` بطلب من: ${interaction.user.username}` , iconURL: interaction.user.avatarURL() })

interaction.reply({ embeds: [embed] });
}
}
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
No description
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
1s
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
ok
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
I didn't understand you
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
can you edit on it
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
Cannot read properties of undefined (reading 'createdAt')
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
Cannot read properties of undefined (reading 'joinedAt')
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
thats okay
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
const { ActionRowBuilder, ButtonBuilder, EmbedBuilder, ButtonStyle, ModalBuilder, TextInputBuilder, TextInputStyle } = require('discord.js');
const client = require('../../index')
const db = require('pro.db');
const Discord = require('discord.js')

module.exports = {
name: 'user',
description: 'معرفة معلومات الشخص',
options: [{
name: 'username',
description: 'يوزر الشخص',
type: 6,
required: false
},],


async execute(client, interaction) {

let member = interaction.options.getMember('username');
if (!member) {
member = interaction.user;
}
let embed = new EmbedBuilder()
.setTitle(`معلومات: ${member.username}`)
.setThumbnail(member.displayAvatarURL({ dynamic: true, size: 4096 }))
.setFields(
{ name: 'الدخول الى الدسكورد' , value:`${member.user.createdAt}`},

{ name: 'joined at' , value: `${member.user.joinedAt}`}
)
.setFooter({ text:` بطلب من: ${interaction.user.username}` , iconURL: interaction.user.avatarURL() })

interaction.reply({ embeds: [embed] });
}
}
const { ActionRowBuilder, ButtonBuilder, EmbedBuilder, ButtonStyle, ModalBuilder, TextInputBuilder, TextInputStyle } = require('discord.js');
const client = require('../../index')
const db = require('pro.db');
const Discord = require('discord.js')

module.exports = {
name: 'user',
description: 'معرفة معلومات الشخص',
options: [{
name: 'username',
description: 'يوزر الشخص',
type: 6,
required: false
},],


async execute(client, interaction) {

let member = interaction.options.getMember('username');
if (!member) {
member = interaction.user;
}
let embed = new EmbedBuilder()
.setTitle(`معلومات: ${member.username}`)
.setThumbnail(member.displayAvatarURL({ dynamic: true, size: 4096 }))
.setFields(
{ name: 'الدخول الى الدسكورد' , value:`${member.user.createdAt}`},

{ name: 'joined at' , value: `${member.user.joinedAt}`}
)
.setFooter({ text:` بطلب من: ${interaction.user.username}` , iconURL: interaction.user.avatarURL() })

interaction.reply({ embeds: [embed] });
}
}
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
im sorry
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
@chewie 🌈
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
const { ActionRowBuilder, ButtonBuilder, EmbedBuilder, ButtonStyle, ModalBuilder, TextInputBuilder, TextInputStyle } = require('discord.js');
const client = require('../../index')
const db = require('pro.db');
const Discord = require('discord.js')

module.exports = {
name: 'user',
description: 'معرفة معلومات الشخص',
options: [{
name: 'username',
description: 'يوزر الشخص',
type: 6,
required: false
},],


async execute(client, interaction) {

let member = interaction.options.getUser('username');
if (!member) {
member = interaction.user;
}
let embed = new EmbedBuilder()
.setTitle(`معلومات: ${member.username}`)
.setThumbnail(member.displayAvatarURL({ dynamic: true, size: 4096 }))
.setFields(
{ name: 'الدخول الى الدسكورد' , value:`${member.createdAt.toDateString()}`},

{ name: 'joined at' , value: `${member.member.joinedAt}`},
)
.setFooter({ text:` بطلب من: ${interaction.user.username}` , iconURL: interaction.user.avatarURL() })

interaction.reply({ embeds: [embed] });
}
}
const { ActionRowBuilder, ButtonBuilder, EmbedBuilder, ButtonStyle, ModalBuilder, TextInputBuilder, TextInputStyle } = require('discord.js');
const client = require('../../index')
const db = require('pro.db');
const Discord = require('discord.js')

module.exports = {
name: 'user',
description: 'معرفة معلومات الشخص',
options: [{
name: 'username',
description: 'يوزر الشخص',
type: 6,
required: false
},],


async execute(client, interaction) {

let member = interaction.options.getUser('username');
if (!member) {
member = interaction.user;
}
let embed = new EmbedBuilder()
.setTitle(`معلومات: ${member.username}`)
.setThumbnail(member.displayAvatarURL({ dynamic: true, size: 4096 }))
.setFields(
{ name: 'الدخول الى الدسكورد' , value:`${member.createdAt.toDateString()}`},

{ name: 'joined at' , value: `${member.member.joinedAt}`},
)
.setFooter({ text:` بطلب من: ${interaction.user.username}` , iconURL: interaction.user.avatarURL() })

interaction.reply({ embeds: [embed] });
}
}
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
Cannot read properties of undefined (reading 'joinedAt')
41 replies
DIAdiscord.js - Imagine an app
Created by Ctrl+Z on 2/14/2024 in #djs-questions
hi guys How can I show when the user entered the server in the embed?
full code
41 replies