@hungrero_vn: Mẹo Discord #5 | Cách Tạo Bot Discord Phần 2 #discord #discordbot #bot

Hrv | HưNgG
Hrv | HưNgG
Open In TikTok:
Region: VN
Friday 22 August 2025 11:39:07 GMT
31350
591
17
54

Music

Download

Comments

huydinh23122
Huy Đinh :
sao để làm Bot tích hợp AI v ôg
2025-08-25 06:31:17
2
usernaem6736
Doilabekho :
MTUwNTQ0MzEwMTk0OTU2Mjg5MA.Go-n9k.G8rXrOJNf6IWUtsgc8ylkl-n4elwWSS54Yltow
2026-05-17 05:37:23
0
kotathikchscaulong
KOTA•mê cầu lông :
nó kiu ko xác định đc code…
2025-11-10 06:11:53
0
ngogbao
⃟⃟⃟⃟⃟⃟⃟⃟2kar16 :
cái file name kia là j v
2026-01-06 11:00:23
0
0xt_ac1
Dũng tồ tề :
e lm the nay để hết bắt xác minh địa chỉ email v bn
2025-08-23 11:23:07
0
k38_codex
SVTB.giii• :
làm sao để tải thư viện trên đó vậy
2025-09-29 16:57:57
0
aduamh11
Pmh :
🥰
2026-01-07 16:54:22
0
usernaem6736
Doilabekho :
{
2026-05-17 05:38:37
0
bn_universe
BN_Creatures :
😂😂😂
2026-07-11 02:45:43
0
hungrero_vn
Hrv | HưNgG :
hỗ trợ: https://discord.com/invite/Z6BMGX6tGJ Code: **bot.js** const { Client, GatewayIntentBits } = require('discord.js'); // Tạo một instance mới của Client với các intents cần thiết const client = new Client({ intents: [ GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent, ], }); // Thay thế 'YOUR_BOT_TOKEN' bằng token của bot bạn const token = 'YOUR_BOT_TOKEN'; // Sự kiện khi bot đã sẵn sàng client.once('ready', () => { console.log(`Bot đã sẵn sàng! Đã đăng nhập với tên ${client.user.tag}`); }); // Sự kiện khi nhận được một tin nhắn client.on('messageCreate', (message) => { // Bỏ qua tin nhắn từ chính bot if (message.author.bot) return; // Gửi !hello Sẽ Kích Hoạt Lệnh "!hello" if (message.content === '!hello') { // Trả lời "Hello!" message.reply('hello bạn'); } }); // Đăng Nhập Vào Discord client.login(token); **package.json** { "dependencies": { "discord.js": "^14.22.0" } }
2025-08-22 11:40:21
2
hoteditvds
hoteditvds :
**bot.js** const { Client, GatewayIntentBits } = require('discord.js'); // Tạo một instance mới của Client với các intents cần thiết const client = new Client({ intents: [ GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent, ], }); // Thay thế 'YOUR_BOT_TOKEN' bằng token của bot bạn const token = 'YOUR_BOT_TOKEN'; // Sự kiện khi bot đã sẵn sàng client.once('ready', () => { console.log(`Bot đã sẵn sàng! Đã đăng nhập với tên ${client.user.tag}`); }); // Sự kiện khi nhận được một tin nhắn client.on('messageCreate', (message) => { // Bỏ qua tin nhắn từ chính bot if (message.author.bot) return; // Gửi !hello Sẽ Kích Hoạt Lệnh "!hello" if (message.content === '!hello') { // Trả lời "Hello!" message.reply('hello bạn'); } }); // Đăng Nhập Vào Discord client.login(token); **package.json** { "dependencies": { "discord.js": "^14.22.0" } }
2026-05-07 12:02:29
0
To see more videos from user @hungrero_vn, please go to the Tikwm homepage.

Other Videos


About