AICord Applets
β¨ Whatβs an Applet?
π¦ What Does an Applet Look Like?
export async function run(input) {
return "Hello from my applet!";
}export async function run({ city }) {
const res = await fetch(`https://wttr.in/${city}?format=3`);
return await res.text();
}
export async function onGuildMemberAdd({ user }) {
return `Welcome ${user.username}! π`;
}β‘ Supported Functions
Function Name
Triggered When...
Params
π§ Agentic AI + Applets = Magic
π Using Secrets
β
Whatβs Allowed in Applets
π€ Sample Applet: Weather

βοΈ How Applets Work Behind the Scenes
Applet Manifest JSON schema
π§ͺ How to Build Your Applet
Last updated