Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions scripts/cmds/callad.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@ module.exports = {
missingMessage: "Vui lòng nhập tin nhắn bạn muốn gửi về admin",
sendByGroup: "\n- Được gửi từ nhóm: %1\n- Thread ID: %2",
sendByUser: "\n- Được gửi từ người dùng",
content: "\n\nNội dung:\n─────────────────\n%1\n─────────────────\nPhản hồi tin nhắn này để gửi tin nhắn về người dùng",
content: "\n\nNội dung:\n━━━━━━━━━━━━━━━━\n%1\n━━━━━━━━━━━━━━━━\nPhản hồi tin nhắn này để gửi tin nhắn về người dùng",
success: "Đã gửi tin nhắn của bạn về %1 admin thành công!\n%2",
failed: "Đã có lỗi xảy ra khi gửi tin nhắn của bạn về %1 admin\n%2\nKiểm tra console để biết thêm chi tiết",
reply: "📍 Phản hồi từ admin %1:\n─────────────────\n%2\n─────────────────\nPhản hồi tin nhắn này để tiếp tục gửi tin nhắn về admin",
reply: "🥷 Phản hồi từ admin %1:\n𝐁𝐨𝐬𝐬 𝐮𝐧 𝐜𝐨𝐮𝐫𝐫𝐢𝐞𝐫\n%2\n━━━━━━━━━━━━━━━━\nPhản hồi tin nhắn này để tiếp tục gửi tin nhắn về admin",
replySuccess: "Đã gửi phản hồi của bạn về admin thành công!",
feedback: "📝 Phản hồi từ người dùng %1:\n- User ID: %2%3\n\nNội dung:\n─────────────────\n%4\n─────────────────\nPhản hồi tin nhắn này để gửi tin nhắn về người dùng",
feedback: "📝 Phản hồi từ người dùng %1:\n- User ID: %2%3\n\nNội dung:\n━━━━━━━━━━━━━━━━\n%4\n━━━━━━━━━━━━━━━━\nPhản hồi tin nhắn này để gửi tin nhắn về người dùng",
replyUserSuccess: "Đã gửi phản hồi của bạn về người dùng thành công!",
noAdmin: "Hiện tại bot chưa có admin nào"
},
en: {
missingMessage: "Please enter the message you want to send to admin",
sendByGroup: "\n- Sent from group: %1\n- Thread ID: %2",
sendByUser: "\n- Sent from user",
content: "\n\nContent:\n─────────────────\n%1\n─────────────────\nReply this message to send message to user",
content: "\n\nContent:\n━━━━━━━━━━━━━━━━\n%1\n━━━━━━━━━━━━━━━━\nReply this message to send message to user",
success: "Sent your message to %1 admin successfully!\n%2",
failed: "An error occurred while sending your message to %1 admin\n%2\nCheck console for more details",
reply: "📍 Reply from admin %1:\n─────────────────\n%2\n─────────────────\nReply this message to continue send message to admin",
replySuccess: "Sent your reply to admin successfully!",
feedback: "📝 Feedback from user %1:\n- User ID: %2%3\n\nContent:\n─────────────────\n%4\n─────────────────\nReply this message to send message to user",
replyUserSuccess: "Sent your reply to user successfully!",
reply: "🥷 𝐕𝐨𝐢𝐥𝐚 𝐥𝐚 𝐫𝐞𝐩𝐨𝐧𝐬𝐞 𝐝𝐞 𝐦𝐨𝐧 𝐁𝐨𝐬𝐬 %1:\n━━━━━━━━━━━━━━━━\n%2\n━━━━━━━━━━━━━━━━\nReply this message to continue send message to admin",
replySuccess: "𝐕𝐨𝐭𝐫𝐞 𝐦𝐞𝐬𝐬𝐚𝐠𝐞 𝐚 𝐞𝐭𝐞 𝐛𝐢𝐞𝐧 𝐞𝐧𝐯𝐨𝐲𝐞 𝐚 𝐦𝐨𝐧 𝐁𝐨𝐬𝐬 !",
feedback: "📝 Feedback from user %1:\n- User ID: %2%3\n\nContent:\n━━━━━━━━━━━━━━━━\n%4\n━━━━━━━━━━━━━━━━\n𝐯𝐨𝐭𝐫𝐞 𝐫𝐞𝐩𝐨𝐧𝐬𝐞 𝐚 𝐞́𝐭𝐞́ 𝐛𝐢𝐞𝐧 𝐞𝐧𝐯𝐨𝐲𝐞́ დ",
replyUserSuccess: "𝐕𝐨𝐭𝐫𝐞 𝐫𝐞́𝐩𝐨𝐧𝐬𝐞 𝐚 𝐞𝐭𝐞 𝐛𝐢𝐞𝐧 𝐞𝐧𝐯𝐨𝐲𝐞 𝐁𝐨𝐬𝐬 🫡!",
noAdmin: "Bot has no admin at the moment"
}
},
Expand All @@ -56,7 +56,7 @@ module.exports = {
if (config.adminBot.length == 0)
return message.reply(getLang("noAdmin"));
const senderName = await usersData.getName(senderID);
const msg = "==📨️ CALL ADMIN 📨️=="
const msg = "==📨𝐁𝐨𝐬𝐬, 𝐮𝐧 𝐜𝐨𝐮𝐫𝐫𝐢𝐞𝐫📨=="
+ `\n- User Name: ${senderName}`
+ `\n- User ID: ${senderID}`
+ (isGroup ? getLang("sendByGroup", (await threadsData.get(threadID)).threadName, threadID) : getLang("sendByUser"));
Expand Down