+
Skip to content

tejovanthn/sst-discord

Repository files navigation

Discord Bot with SST

A large part of this was possible because of wleroux on discord.

What is this?

This is a Discord bot that uses the SST Framework

Check apps/discord for the code.

How to use?

Copy .env-example to .env.local. Get your discord bot token, app id, and public key from here and paste it in .env.local. Run pnpm install to install dependencies. Run pnpm dev to start the bot. You need to copy ${DiscordEndpoint}/interactions to your discord app's interaction endpoint.

How to deploy?

Deploy with Seed. Set the env vars accordingly. The app registers the commands automatically on startup.

Adding Commands

Add commands in apps/discord/src/commands. index.ts in that folder exports all the commands and handlers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载