import { Client } from 'crosis4furrets';
const client = new Client(process.env.TOKEN, 'replId');
await client.connect();
await client.persist();
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function startInterval() { | |
(function loop() { | |
var now = new Date(); | |
// Set the time here | |
if (now.getDay() === 0 && now.getHours() === 0 && now.getMinutes() === 59) { | |
/* Place function to execute here */ | |
} | |
now = new Date(); | |
var delay = 60000 - (now % 60000); | |
setTimeout(loop, delay); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { lightfetch } from 'lightfetch-node'; | |
// You will need your connect.sid cookie for authenticated requests | |
const { CONNECT_SID } = process.env; | |
const headers = { | |
'X-Requested-With': 'Your-Username', | |
Referrer: 'https://replit.com/', | |
}; | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/ | |
┣╸server/ | |
┃ ┗╸index.js | |
┣╸client/ | |
┃ ┣╸public/ | |
┃ ┃ ┣╸styles/ | |
┃ ┃ ┃ ┗╸ *.scss | |
┃ ┃ ┗╸js/ | |
┃ ┃ ┣╸components/ | |
┃ ┃ ┃ ┗╸*.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { handler as middleware } from '../dist/server/entry.mjs'; | |
export const handler = async (req, res, next) => { | |
const response = await middleware(req, res, next); | |
return response; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(R) | |
abortion | |
abortions | |
abused | |
accountability | |
AGI | |
alarm | |
alarming | |
America | |
angry |