Skip to content

New-dev0/switch-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

switch-ts

creating a echo bot

import Client from "./switch";

const client = new Client(
    "eyJhbGc......3oB3yTI",
);

client.onMessage(async (message) => {
    await message.replyText({"message": message.message});
});

client.start().then(
    () => console.log("Bot Started!"),
);

About

Client library for making bots and apps on switch

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published