Skip to content

Instantly share code, notes, and snippets.

View Cyanic76's full-sized avatar

Cyanic76 Cyanic76

View GitHub Profile
@Cyanic76
Cyanic76 / check_npm_packages_update.js
Last active July 21, 2022 17:14
Check for npm package updates
/*
NPM package update checker
This uses the superagent lib, however, other libs may work too.
If you got many packages, you may hit ratelimits.
Use at your own risk.
*/
const superagent = require("superagent");
const pack = require("./package.json"); // or wherever it is
@Cyanic76
Cyanic76 / GatewayIntentBits_Partials.md
Created July 18, 2022 10:57
discord.js 14.x GatewayIntentBits & Partials

GatewayIntentBits

I can't seem to find any documentation related to the GatewayIntentBits Object for discord.js 14.

These intents are the same and work the same way as the v13 Intents.

For reference, console.log(GatewayIntentBits); outputs the following:

{
  '1': 'Guilds',