Skip to content

Instantly share code, notes, and snippets.

View CWFranklin's full-sized avatar

Chris Franklin CWFranklin

View GitHub Profile
@CWFranklin
CWFranklin / .env
Created February 9, 2022 11:05
NGinx Example Setup
PORT=4100
@CWFranklin
CWFranklin / score-counter.js
Created June 22, 2016 00:15
Simple score counter for Discord API running in NodeJS
var discord = require('discord.js');
var prefix = '!';
var status = [];
var bot = new discord.Client({
autoReconnect: true
});
@CWFranklin
CWFranklin / app.js
Last active March 31, 2020 15:28
A script to detect user game changes and apply valid roles
var Discord = require('discord.js');
var discordBotToken = 'YOUR BOT TOKEN HERE';
var prefix = 'vores_';
var roleGame = {
"blackdesert": {
name: "black desert online",
id: ''
},