• alvi avatar
    SteamPlaytimeHistory_playHistorySchema
    @alvi
    This val is part of the SteamPlaytimeHistory project This val exports the drizzle table scheme so you can use it to interact with your play_history table across your differents vals
    Script
  • stevekrouse avatar
    discordWebhook
    @stevekrouse
    Send a Discord message Send a message to a Discord channel from Val Town. It's useful for notifying your team or community when someone interesting happens, like a user signup, Stripe payment, mention on social media, etc. @stevekrouse.discordWebhook({ url: @me.secrets.discordWebhook, content: "Hi from val town!", }); Example val: https://www.val.town/v/stevekrouse.discordWebhookEx Setup 1. Create a Discord Webhook Follow the instructions here: https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks It really only takes 2 minutes. 2. Copy webhook URL Paste it into your secrets as discordWebhook . 3. Send a message! export const discordWebhookEx = @stevekrouse.discordWebhook({ url: @me.secrets.discordWebhook, content: "Hi from val town!", }); Example val: https://www.val.town/v/stevekrouse.discordWebhookEx
    Script
1
Next
v5
June 1, 2024