Simp-O-Matic

Dumb Discord bot in TS.
git clone git://git.knutsen.co/Simp-O-Matic
Log | Files | Refs | README | LICENSE

epoch.ts (264B)


1
2
3
4
5
6
7
export default (homescope: HomeScope) => {
	const { message } = homescope;
	const now = new Date();
	message.channel.send(`Local time relative to bot:
		${now.toString()} / ${now.toISOString().format('`')}
		${now.valueOf().toString().format('`')}`.squeeze());
};