Pylon

Pylon

نظرة عامة

⚒️ Build your own Discord bots! Now in beta! ⚒️ No hosting required 🦄 Pylon.bot 🦄


You write it. We run it.

Build and deploy Discord bots in minutes using our simple online studio.

Online Editor

Build your bot in the browser.

Enjoy built-in revision history, syntax highlighting, code completion, logging, and more!

Instant Deploys

Build, test, deploy, repeat. When you hit Save, your bot is deployed instantly and suffers no event loss during deployments.

Batteries Included!

KV store, webhooks, and more!

Extend your bot’s functionality with our built-in persistent storage, scheduled events, and webhooks!

Serverless Bots

Always on, no hassle.

Under the hood, Pylon uses a lightning-fast JavaScript V8 runtime to power your bots. In addition, the Pylon SDK is fully typed, meaning TypeScript auto-completions and type-checking are built in!

Check out these cool examples

Simple Ping-Pong

discord.registerEventHandler("MESSAGE_CREATE", async (msg) => {
  if (msg.content === "!ping") {
    await msg.reply("Pong!");
  }
})

Web Requests

discord.registerEventHandler("MESSAGE_CREATE", async (msg) => {
  if (msg.content === "!catfact") {
    // Request a random fact about cats
    const req = await fetch("https://catfact.ninja/fact");
    
    // Parse the request's JSON body:
    const data = await req.json();
    // Example data:
    // { "fact": "Cats have supersonic hearing", "length": 28 }

    // Reply to the command with the random cat fact
    await msg.reply(data['fact'])
  }
})

Rich Embed

discord.registerEventHandler("MESSAGE_CREATE", async msg => {
  if (msg.content === "!info") {
    const embed = new discord.Embed();
    embed.setTitle(msg.author.getTag()).setColor(0x00ff00);
    embed.setDescription("User Information Example");
    embed.setThumbnail({ url: msg.author.getAvatarUrl() });
    embed.addField({
      name: "User ID",
      value: msg.author.id,
      inline: false
    });
    embed.setTimestamp(new Date().toISOString());
    await msg.reply({ content: "", embed: embed });
  }
});

Message Reactions

discord.registerEventHandler("MESSAGE_CREATE", async msg => {
  if (!msg.content.toLowerCase().includes("love pylon")) {
    return;
  }
  const newMessage = await msg.reply(`I'm flattered!`);
  await newMessage.addReaction("😊");
});

Psst! Check out what else Pylon is capable of at the docs.

التقييمات والمراجعات


5

3 مراجعات

يمكن ترك المراجعات فقط من قِبل المستخدمين المسجلين. جميع المراجعات تخضع للمراجعة من قبل مشرفي Top.gg. يرجى التأكد من الاطلاع على إرشاداتنا قبل النشر.

5 نجوم

3

4 نجوم

0

3 نجوم

0

2 نجوم

0

1 نجم

0



jack5
jack5
over 3 years ago

Been using this for several years. Fully customisable and absolutely worth the time investment.


Menin
Menin
over 4 years ago

The best bot out there. Code what you like and post it. So easy to use. Love it!


ClashCrafter
ClashCrafter
almost 5 years ago

Really good bot. I learned JavaScript with it <3



Top.gg

استكشف ملايين بوتات وتطبيقات الديسكورد

Support

تقديم تذكرة

Manage Cookie Settings