Sign In

Setup

butwhylezi
by butwhyleziβ€’Updated Sep 1, 2025

ForgeIndia is a Hinglish-powered extension for ForgeScript that lets you code in a mix of Hindi and English, just like how you talk IRL.

With this extension, you can use Hinglish keywords as aliases for ForgeScript functions β€” making coding more natural and fun for Indian developers.


πŸ“¦ Installation

Since forge.india isn’t on npm yet, install it directly from GitHub:

npm install https://github.com/user-lezi/ForgeIndia

⚑ Initializing the Extension

Import ForgeIndia and add it as an extension in your ForgeClient:

const { ForgeIndia, ForgeIndiaTranslation } = require("forge.india");
const { ForgeClient } = require("@tryforge/forgescript");

const client = new ForgeClient({
  intents: ["Guilds", "MessageContent", "GuildMessages"],
  events: ["ready", "messageCreate"],
  mobile: true,
  useInviteSystem: true,
  prefixes: ["!", "<@$botID>"],
  extensions: [
    new ForgeIndia({
      debug: true, // βœ… Enable Debug logs
      translation: ForgeIndiaTranslation.Hinglish, // βœ… Currently supports Hinglish
      exclude: ["$ping", "$uptime"], // βœ… Skip translations if you want originals
    }),
  ],
});

client.login("bot token");

πŸ“ Command Examples

πŸ‘ Reaction Command

module.exports = {
  name: "up",
  type: "messageCreate",
  code: `$!msgReactionAddKaro[$chnlID;$msgID;πŸ‘]`
};

πŸ’¬ Say Command

module.exports = {
  name: "say",
  type: "messageCreate",
  code: `$typingChaluKaro[$channelKaID]
$messageBhej[$channelKaID;$message]`
};

πŸ”‘ Configuration Options

export enum ForgeIndiaTranslation {
  Hinglish = "hinglish"
}

export interface IForgeIndiaOptions {
  debug: boolean;              // Enable debug logs
  translation: ForgeIndiaTranslation; // Choose translation set
  exclude: `$${string}`[];     // Functions to exclude from translation
}

πŸ“– Common Function Aliases

Here are some popular ForgeScript functions and their Hinglish aliases:

ForgeScript (English) Hinglish Alias
$sendMessage $messageBhej
$deleteMessage $msgHatado
$isBot $kyaBotHai
$reply $jawabDo
$channelID $channelKaID
$userID $userKaID
$userAvatar $userKiPhoto
$startTyping $typingChaluKaro
$addReactions $msgReactionAddKaro

πŸš€ Start building your bot in apni bhasha today with ForgeIndia!

Was this page helpful?