literally me.
To run, create a config.ts
exporting your discord token and channel / server configs:
import type { BirthdayInfo } from './birthdays';
import { DateTime } from 'luxon';
export const timeZone = 'America/Indiana/Indianapolis';
export const token = 'real-discord-token-trust';
export const wooperChannels = [
'...'
];
export const thisFishServers = [
'...'
];
export const birthdays: BirthdayInfo[] = [
{
userId: '...',
channelIds: ['...', ...],
date: DateTime.fromISO('...', { zone: timeZone })
},
...
];
Run
npm run registerSlashCommands
to update slash commands and
npm start
to start the bot.