Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tscord

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tscord

A Discord.JS wrapper programmed in TypeScript.

  • 1.3.1
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-12.5%
Maintainers
1
Weekly downloads
 
Created
Source

tscord - A Discord.JS wrapper programmed in TypeScript.

npm version

An attempt at making programming Discord bots easier, funner, and more accessible to all.

Work In Progress

tscord is still being converted over from my private bots, so there are still issues and missing features within the code.

Setup

Install tscord:

npm i tscord

Alternatively, you could clone this repository and require the local copy you create in your main file. Once you've installed, you can now require the package:

// require.js
const tscord = require("tscord");
const tscord = require("path_to_cloned_repository");

// es6
import * as tscord from "tscord";
import * as tscord from "path_to_cloned_repository";

Great! You've installed a copy of tscord.

Quick Start

To get started with tscord, you simply need to create an instance of the Client object. You need to provide it with a set of options - you can find more details below.

import * as tscord from "tscord";

let bot = new tscord.Client({
	name: "your_bot's_name";
	discord: {
		token: "<your bot token>";
	}
});

To start the bot, simply run Client.start()

bot.start();

// inline starting also works
new tscord.Client(opts).start();

Cool - that should get the bot up and running. Want to know more? Check out the wiki.

Issues

Please, please, please report any issues you find on the Git repository. Any feedback is very much appreciated. If you'd like to contact me, I'm on Discord at ori#0001. Here's the issues page.

FAQs

Package last updated on 25 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc