0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2025-02-07 20:28:24 -05:00
safetwitch-backend/util/scraping/chat/utils.ts

4 lines
124 B
TypeScript
Raw Normal View History

2023-03-24 07:41:33 -04:00
export const parseUsername = (rawUsername: String) => {
const splitted = rawUsername.split('!')
return splitted[0]
}