npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ukori-test

v2.1.71

Published

Simple way of making a functional Discord Bot

Downloads

20

Readme

Discord Bot

Table of contents:

Installation

npm i ukori-test

Setting up

We must have two files

Inside "index.js"

const { ukori } = require('ukori-test');
const { token, prefix, stat, status, statusType, mongoPath} = require('./config.json');
ukori(token, prefix, stat, status, statusType, mongoPath);

Inside a "config.json" file:

{
  "token": "<token>"",
  "prefix": "t.",
  "stat": "online",
  "status":["Prefix is: t."]
  "statusType": "PLAYING",
  "mongoPath": "<login>"
}

Commands(More coming soon)

Fun

[prefix]howgay Calculates how gay you are (Don't take it serious)

[prefix]guess Guess a number between 1-10

[prefix]quote Sends an inspirational quote

[prefix]chatbox Talk with the bot

[prefix]8ball Ask any question and it will be answered

[prefix]weather Specify a city and will show the weather

[prefix]meme Random Memes off of r/meme

[prefix]hug Hug yourself or a friend in need

[prefix]coinflip Picks between Heads or Tails

[prefix]level Tells you your current level and XP

[prefix]leaderboard Shows everyone's current level and XP

Games

[prefix]hangman Play hangman with your friends

[prefix]trivia Test out your trivial skills

[prefix]tictactoe Specify a user to play tictactoe

[prefix]rock-paper-scissors Play rock, paper, scissors with the bot

Utility

[prefic]help Shows you all the commands available

[prefix]setwelcome Sets up the welcome channel

[prefix]ping Current ping of bot

[prefix]kick Kicks specified User(reason is optional)

[prefix]ban Bans specified User(reason is optional)

[prefix]addrole Adds role to specified user

[prefix]removerole Revokes role from specified user

[prefix]clear Clears 1-100 messages at once

[prefix]nickname Set your nickanme to anything

[prefix]nickname-reset Resets your nickname

[prefix]members Shows all the members and can skip though pages

[prefix]first-message Shows you the first message sent in that channel

Economy

[prefix]balance Check how many coins you have in your wallet

[prefix]shop A fun way to spend your coins

[prefix]inventory Check the items you have bought

[prefix]buy Buy items in the shop

[prefix]daily Get your daily coins

[prefix]work Work to get more coins

[prefix]beg Beg to get more coins

[prefix]gamble Have the chance to double your bet or lose it all

[prefix]pay Lend or gift any of your friends some money

Support

Have any suggestions? Contact me on Discord at Kristian#9318