Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/samualtnorman/hackmud-chat. this is just another hackmud chat api for node, this time written in ty
Something went wrong. Try again.
1234567import api from "./api"
/** Convert a chat pass into a chat token */export const getToken = async (pass: string): Promise<string> => (await api(`get_token`, { pass })).chat_token
export default getToken