Skip to content

pauleks/uwutranslator

Repository files navigation

uwutranslator but serverless (for Vercel)

Small code rewrite for serverless (Vercel) platform.

Setup

Click the following button to instantly create a project on Vercel.

Deploy with Vercel

Fill in the required environment variables:

  • appId - application's ID, which you can find under "General Information" tab
  • publicKey - application's public key, which you can find under "General Information" tab
  • botToken - application's bot token, which you can find under "Bot" tab (you'll need to create a bot user)

After the bot is deployed, copy the URL from "Domains" section in the dashboard.

Tutorial image

Go to your application's page on Discord, paste the copied domain to "Interactions Endpoint URL" field and save the changes.

Tutorial Image #2

If you're setting up the bot for the first time ever, please run registerCommands.js file in some way lol.

🎉 The bot is now alive! Enjoy!