4.0.0 • Published 5 years ago

@carameldrop/tinypack v4.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@CaramelDrop/tiny

npm.io npm bundle size (minified)

A collection of all the little modules I use.

Install

$ npm install @carameldrop/tinypack

Usage

Please refer to the documentation for Discord.JS and Telebot. This module is not a replacement for either, it simply combines the two into one script.

Please remember to go into the Bot scripts in the modules folder, and modify them to your liking. Whilst I would love to somehow be able to make some sort of Scripting Language so they can be, programmed in the main file, I simply don't have the time.

const tinypack = require("@carameldrop/tinypack");

//The first True enables the Discord Bot, and the Second enables the Telegram Bot.
tinypack.bots(true,true);

//Replace examples with your own tokens.
tinypack.setDiscordToken("INSERT-DISCORD-TOKEN");
tinypack.setTelegramToken("INSERT-TELEGRAM-TOKEN");

//Activity Types include "STREAMING", "PLAYING", "LISTENING", "WATCHING".
//URL is optional and only required for STREAMING.
tinypack.setDiscordData("Example Game", "STREAMING", "https://twitch.tv/username");

//Turns on the Bot instances.
tinypack.instanceBots();
4.0.0

5 years ago

3.0.0

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago