Skip to content

Instantly share code, notes, and snippets.

View wylie39's full-sized avatar
😁

Wylie Fowler wylie39

😁
View GitHub Profile
@wylie39
wylie39 / Ping-Pong.js
Created September 21, 2021 17:05
Discord.js example
const { Client, Intents } = require('discord.js')
const client = new Client({
intents: [
Intents.FLAGS.GUILDS,
Intents.FLAGS.GUILD_MESSAGES
],
partials: ['CHANNEL', 'MESSAGE'],
})
const { Client, Intents } = require('discord.js')
const client = new Client({
intents: [
Intents.FLAGS.GUILDS,
Intents.FLAGS.GUILD_MESSAGES,
Intents.FLAGS.DIRECT_MESSAGES,
],
partials: ['CHANNEL', 'MESSAGE'],
})
@wylie39
wylie39 / Remove all users firebase.js
Created October 29, 2020 13:51
Remove all users firebase auth put in chrome console
var intervalId;
var clearFunction = function() {
var size = $('[aria-label="Delete account"]').size()
if (size == 0) {
console.log("interval cleared")
clearInterval(intervalId)
return
}