Skip to content

Instantly share code, notes, and snippets.

View jacobhumston's full-sized avatar
🐢
TURTLES!

LovelyJacob jacobhumston

🐢
TURTLES!
View GitHub Profile
@jacobhumston
jacobhumston / message.js
Last active February 12, 2023 20:45
[Discord.Js v11.6] Random Response Examples.
//----------//
//const declarations
const Discord = require("discord.js");//created on version 11.6.3 - May break on v12+ (Have not tested on v12+.)
const bot = new Discord.Client({ disableEveryone: true });//declaring "bot" as the client.
const token = "tokenhere"//bot token goes here
const prefix = "!" //your prefix goes here
//----------//
//code
bot.on("message", async message => {//when a message is sent (that the bot can read)
@dominikwilkowski
dominikwilkowski / README.md
Last active May 11, 2025 00:14
ANSI codes for cli controled output

ANSI escape sequences

ANSI escape sequences can be printed to a shell to as instructions. The below is a list of codes I have used often in my CLI programs and I find myself looking up over and over again.

A great article about it can be found here.

Content