telebothost/RewardCraftBotPublic · Community Store Listing
Reward Craft
6 commands0 envUpdated 6mo agoCreated Dec 27, 2025
commands/_start.js
javascript · 56 lines · click line # to share
1/**#command2name: /start3answer: 4keyboard: 5parse_mode: 6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12/* CMD: /start */13 14if(!request.chat || request.chat.type !== "private"){15 return Api.sendMessage({16 chat_id: request.chat.id,17 text: "📩 Please DM me to use bot commands.",18 reply_markup:{19 inline_keyboard:[20 [{text:"Open Bot", url:"https://t.me/"+bot.name}]21 ]22 }23 })24}25 26let msg =27`👋 <b>Welcome to Reward Craft 💎!</b>28 29💎 <b>RC Point</b> is a reward currency for communities.30It helps group owners motivate members and increase engagement.31 32🎯 <b>How it works</b><blockquote>33• Members earn points by helping & being active 34• Admins can reward or deduct points in chat 35• Points belong to each group <b>separately</b> (No cross-use)36</blockquote>37📌 <b>Reply-Based Transfer</b><blockquote>38Reply to someone's message with just a number:39<code>10</code> → Give 10 points 40<code>-5</code> → Deduct 5 points (Admin only)41</blockquote>42🧩 <b>Commands</b><blockquote>43<code>/balance</code> — Check your Point balance 44<code>/history</code> — View your recent transfers 45<code>/activate</code> — Register the bot for a group46</blockquote>47 48💙 <i>Start using and build a healthier community today!</i>`;49 50Api.sendMessage({51 chat_id: user.id,52 text: msg,53 parse_mode: "HTML",54 reply_to_message_id: request.message_id,55 disable_web_page_preview: true56});