Skip to content

Instantly share code, notes, and snippets.

View jacobhumston's full-sized avatar
🐢
TURTLES!

LovelyJacob jacobhumston

🐢
TURTLES!
View GitHub Profile

Types

type PayloadResponse = { 
        Success: number, 
        Message: string?, 
        Payload: any? 
}

type VoteResults = { 
	Red: {
@jacobhumston
jacobhumston / About Me.md
Created May 6, 2021 12:01
A description about me.
@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)
@jacobhumston
jacobhumston / Commands - ShineLight.md
Last active February 4, 2020 00:10
[DISCORD BOT] Commands - ShineLight

-- About ShineLight --

ShineLight is a bot with commands made to help you use Discord. While providing a basic amount of commands in the best way possible. ✨

Each command has a none-embed version of the command to make it better formatted for mobile users. Every command has a none-embed version, just some of them don't have an embeded version. 📱

-- Note --

The commands use the prefix; "sl..". You HAVE to put that infornt of the command for it to work. This does not apply to "ShineLight?" as you don't need to use the prefix for that command.