"Building habits in the present allows you to do what you want in the future."
- Cue
- Craving
- Response
- Reward
const muteStorage = new Keyv(MONGODB_URI, { namespace: `${env}mute` }) | |
const unmute = async () => { | |
client.guilds.cache.forEach((g) => { | |
const muted = g.members.cache.filter((m) => { | |
const roleNames = Array.from( | |
m.roles.cache.mapValues((r) => r.name).values(), | |
) | |
return roleNames.includes(ROLES.MUTED) | |
}) |
console.log('hello') |
const markdownLinkExtractor = require('markdown-link-extractor') | |
const fs = require('fs') | |
const { join } = require('path') | |
const dir = join(__dirname, 'chapters') | |
const files = fs.readdirSync(dir) | |
const titles = files.map( | |
file => file.substr(0, file.lastIndexOf('.')).split(' - ')[1], | |
) |
license: gpl-3.0 |
license:gpl-3.0 | |
height:600 | |
border:no | |
Raw |
license:gpl-3.0 | |
height:600 | |
border:no | |
Raw |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style> | |
circle { | |
fill: green; | |
} |
module.exports = { | |
server: '.', | |
files: [ | |
'*.html', | |
'src/*' | |
], | |
ui: false, | |
notify: false | |
}; |
Copyright (c) 2012–2013 Daniel Foreman-Mackey | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
the Software, and to permit persons to whom the Software is furnished to do so, | |
subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all |