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

dhts

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dhts

Client-side implementation of DogeHouse API. Create chat & music bots with ease.

  • 0.0.12
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

DogeGarden logo

Client-side implementation of DogeHouse API. 🐶

discord - users online

Website . Contributing · Discord · Documentation


NPM Package

  • Our NPM package is the quickest and easiest way to jump in with dogehouse.js.
  • dogehouse.js package

Installation

  1. Go to DogeHouse
  2. Open Developer options (F12 or Ctrl+Shift+I)
  3. Go to Application > Local Storage > dogehouse.tv
  4. Copy your token and refresh-token and put them in an .env file:
DOGEHOUSE_TOKEN=<token>
DOGEHOUSE_REFRESH_TOKEN=<refresh-token>
  1. Install NodeJS and NPM.

Examples

  • All examples like, sending messages, joining rooms, music, moderation and more are in /examples.

JavaScript Example

  • Get Popular Rooms
const { Client } = require('dogehouse.js');
const app = new Client();
app.connect(process.env.DOGEHOUSE_TOKEN, process.env.DOGEHOUSE_REFRESH_TOKEN).then(async () => {
    console.log('Bot connected!');
    console.log(await app.rooms.top); // Log all of your top rooms to console
});

Credits

Thank you to Abalon#2525 for the awesome logo!

Keywords

FAQs

Package last updated on 11 Apr 2021

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