Skip to content

Instantly share code, notes, and snippets.

View itslukej's full-sized avatar
🥑

Luke James itslukej

🥑
View GitHub Profile
DISCORDBOTS.ORG TERMS OF SERVICE AGREEMENT
Discord, The Discord Logo, and other items are trademarks of Hammer & Chisel, Inc. By using Discord Bot List, www.discordbots.org, or any other products, services, or items offered by discordbots.org and/or its affiliates or partners, you agree to the following terms of service document in it's entirety.
By using logging in using Discord, you agree to Discord’s Terms of Service, Privacy Policy, and any other agreements offered by Hammer & Chisel, Inc. Discord Bot List, discordbots.org or its affiliates reserve the right to modify these terms of service as well as the Privacy Policy at any time without prior or former notice. Discord Bot List, discordbots.org or its affiliates reserve the right, to, at any time, for any reason, whether in violation of the terms or not, to remove content, ban a user, terminate an account, or any other actions in relation to the prior actions listed. By using www.discordbots.org you must be 13 years of age or older. Using services
const Stream = require('stream');
const https = require('https');
const http = require('http');
const URL = require('url');
/**
* Resumable stream via a Stream PassThrough
* @param {string|URL} url Input url
* @param {stream.Transform} [output=stream.PassThrough] Output stream
* @param {Object} [meta] Meta information to pass between stuff
File Hosting Terms of Service:
1. You must abide by the following limitations while uploading to RATELIMITED.
- No illegal, harmful, offensive, or fraudulent content
- No copyrighted content or content that miapproapriates the IP of others
- No viruses/malware/computer harming things
- No child pornography or jail bait
2. Your key MUST stay private unless you ask me before giving it out/creating a public service using it.
3. No attempting to break/DDoS the upload/CDN servers.
4. Don't spam uploads. (no limits are enforced except for filesize and count, just be nice and don't give me a huge data storage bill).

Vexera Privacy Policy

When using Vexera, we collect data about you for a better experience.

What personal information do we collect from the people that use Vexera?

  • Public information about your discord server. This is your server ID, server name, server icon, channel names, channel IDs, member IDs and role IDs
  • Public information about the discord server owner. This is their user ID, username and discriminator.
  • Any errors that have occured while using commands and what event from your discord server triggered it.
const snekfetch = require('snekfetch');
const EventEmitter = require('events');
const BASE_URL = 'http://discoin.sidetrip.xyz';
const endpoints = {
transactions: '/transactions',
transaction: '/transaction'
};
class DiscoinError extends Error {
@itslukej
itslukej / dbots.js
Created February 13, 2018 23:36
A script to grab all bots from discordbots.org
const superagent = require('superagent');
const bots = [];
(async () => {
for(let off = 0; off < 100; off++) {
const r = await superagent.get(`https://discordbots.org/api/bots?offset=${off*50}&limit=50`);
// Sort through bots
for(let botScraped of r.body.results) {
const bot = {
discord_id: botScraped.id,
@itslukej
itslukej / a_lot_of_bots.json
Created February 13, 2018 23:54
Discord Bots
[
{
"discord_id": "247056469894103041",
"name": "Tink",
"invite": "https://discordapp.com/oauth2/authorize?permissions=8&scope=bot&client_id=247056469894103041",
"short_desc": "A multipurpose bot for Discord.",
"support_invite": null,
"prefix": "+"
},
{
@itslukej
itslukej / domains.js
Last active May 6, 2019 01:40
Find the shortest domains on park.io
const tlds = ['io', 'ly', 'to', 'me', 'pro', 'red', 'sh', 'ac', 'vc', 'gg', 'je', 'mn', 'bz', 'ag', 'sc', 'lc'];
const superagent = require('superagent');
const cheerio = require('cheerio');
const word = require('check-word')('en');
function getUrl(tld, page = 1) {
return `https://park.io/domains/index${tld == 'io' ? '' : `/${tld}`}/page:${page}`;
}
@itslukej
itslukej / zws.im.sxcu
Created June 16, 2019 23:03
ZWS.IM ShareX custom uploader
{
"Version": "12.4.1",
"Name": "zws.im",
"DestinationType": "URLShortener",
"RequestMethod": "GET",
"RequestURL": "https://us-central1-zero-width-shortener.cloudfunctions.net/shortenURL",
"Parameters": {
"url": "$input$"
},
"URL": "https://zws.im/$json:short$"

Keybase proof

I hereby claim:

  • I am itslukej on github.
  • I am lukeuke (https://keybase.io/lukeuke) on keybase.
  • I have a public key ASCEXV66t2aXSQiQkw9y-XlGLqXMMPZHB8YRmmmEBVMfoAo

To claim this, I am signing this object: