Skip to content

Instantly share code, notes, and snippets.

View tjreigh's full-sized avatar
🤔

Trevor R tjreigh

🤔
View GitHub Profile

Keybase proof

I hereby claim:

  • I am tjreigh on github.
  • I am tjdoescode (https://keybase.io/tjdoescode) on keybase.
  • I have a public key ASAtDVZG9pega-bvR-pHZ0ZL-T4OX9uXEQTxdXpH5I8TJQo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am tjdoescode on github.
* I am tjdoescode (https://keybase.io/tjdoescode) on keybase.
* I have a public key ASC8lpSLl_qGgXmxppLt3e3HqJTU9W8d82pUjTFKPQ8jBAo
To claim this, I am signing this object:
@tjreigh
tjreigh / convert.js
Created July 31, 2017 23:32
Broken code (Embeds not returning)
/*The following is an example of currency coversion
with Discoin using Discord.js-Commando as a
command framework and SQLite as a database to
store user currencies. This assumes you've
already set up a currency DB, a way to earn
currency, and have a basic knowledge of SQL.*/
//eslint-disable-next-line
const commando = require('discord.js-commando');
const oneLine = require('common-tags').oneLine;
@tjreigh
tjreigh / bot.js
Created June 22, 2017 19:42
Food bot broken code
"use strict";
const Discord = require('discord.js'),
bot = new Discord.Client(),
config = require('./config.json'),
prefix = config.prefix;
let cooldownUsers = [],
data = {},
usedIDs = [],
help = [
`Prefix is: \`${prefix}\``,