Skip to content

Instantly share code, notes, and snippets.

@trueharuu
trueharuu / reddit.ts
Last active June 27, 2022 04:32
Pylon Reddit System
import * as config from '../modules/config';
const content = "sex!"
const group = config.CLIENT.INTERACTION_COMMANDS;
const subreddit_storage = new pylon.KVNamespace('subreddits');
let subreddits = [];
let firstTime = true;
const interval = config.REDDIT.INTERVAL;
const channel_id = config.CHANNEL.REDDIT;
const REDDIT_COMMAND = config.CLIENT.INTERACTION_COMMANDS;