Skip to content

Instantly share code, notes, and snippets.

View abcdan's full-sized avatar
✏️
Nothing is as permanent as a temporary solution.

Daniël abcdan

✏️
Nothing is as permanent as a temporary solution.
View GitHub Profile
@abcdan
abcdan / semantic-commit-messages.md
Created January 5, 2024 09:29 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@abcdan
abcdan / GitCommitEmoji.md
Created August 19, 2018 11:32 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@abcdan
abcdan / app.js
Created July 5, 2018 16:01
Simple, complete example of a bot in Discord.js
// Load up the discord.js library
const Discord = require("discord.js");
// This is your client. Some people call it `bot`, some people call it `self`,
// some might call it `cootchie`. Either way, when you see `client.something`, or `bot.something`,
// this is what we're refering to. Your client.
const client = new Discord.Client();
// Here we load the config.json file that contains our token and our prefix values.
const config = require("./config.json");