Schema to type and validate Lanyard discord presence data.
APACHE-2.0 License
Schema to type and validate Lanyard discord presence data.
yarn add schema-lanyard-discord-presence
import { SchemaDiscordPresence, DiscordPresence } from 'schema-lanyard-discord-presence';
const discordPresence: DiscordPresence = await SchemaDiscordPresence.validate(data);