Skip to content

Instantly share code, notes, and snippets.

View kaisterz's full-sized avatar

Aioi kaisterz

View GitHub Profile
// Discord all events!
// A quick and dirty fleshing out of the discord.js event listeners (not tested at all!)
// listed here -> https://discord.js.org/#/docs/main/stable/class/Client
// Learn from this, do not just copy it mofo!
//
// Saved to -> https://gist.github.com/koad/316b265a91d933fd1b62dddfcc3ff584
/*
koad-was-here
const botconfig = require("../botconfig.json")
const chalk = require("chalk")
const fs = require("fs")
module.exports.run = (bot, message, args) => {
if (message.author.id !== botconfig.ownerid) return;
if (args[0]) {
const commandName = args[0];
// Check if the command exists and is valid
if (!bot.commands.has(commandName)) {
@kaisterz
kaisterz / markdown-text-101.md
Created January 21, 2019 22:01 — forked from matthewzring/markdown-text-101.md
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

Sweet Styles

Italics *italics* or _italics_

Underline italics __*underline italics*__