Skip to content

piecewisechat/piecewise-telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram for Piecewise

This is an addon that adds Telegram support to Piecewise, a tool that allows you to build chat bots with blocks.

While it's developed by Piecewise Labs for Piecewise, it's not an officially supported addon. Feel free to ask questions and contribute, but support will be limited.

Use it

First, you'll need to purchase Piecewise on Steam or itch.io. Then you'll need to download the aimer branch by following the instructions here.

If you purchase and install Piecewise through Steam, you can then install the Telegram for Piecewise addon through the Steam Workshop here. I upload releases there occasionally.

You can also download the im.piecewise.telegram.js file from the Releases and drop it in your addons folder, next to Piecewise.exe, Piecewise.app, or piecewise.

Build it

Everything is built into one .js file using webpack. Clone the repository, npm i, and then npx webpack build --mode production. Then you'll have a nice main.js file to drop into your addons directory.

Develop it

For general information about creating Piecewise addons, see the documentation.

Similarly to building the package, you can run webpack with a watch parameter that will auto-rebuild the package when something changes. For example, you might run webpack watch --mode development and link the produced dist/main.js to your addons folder.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.