Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/discordeno/serverless-deno-deploy-template
Template or boilerplate using Discordeno Slash Serverless Bot on Deno Deploy for Discord API Bots
https://github.com/discordeno/serverless-deno-deploy-template
bot deno discord discord-api discordeno javascript typescript
Last synced: 3 months ago
JSON representation
Template or boilerplate using Discordeno Slash Serverless Bot on Deno Deploy for Discord API Bots
- Host: GitHub
- URL: https://github.com/discordeno/serverless-deno-deploy-template
- Owner: discordeno
- License: apache-2.0
- Created: 2021-04-11T16:22:10.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-05T04:46:09.000Z (about 2 years ago)
- Last Synced: 2024-05-09T17:25:30.130Z (9 months ago)
- Topics: bot, deno, discord, discord-api, discordeno, javascript, typescript
- Language: TypeScript
- Homepage:
- Size: 61.5 KB
- Stars: 31
- Watchers: 3
- Forks: 11
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# serverless-template
A serverless template for slash commands using [Deno Deploy](https://deno.com/deploy).
[![image](https://user-images.githubusercontent.com/23035000/116934239-b0d4a400-ac32-11eb-83f6-0c4119d59fa8.png)](https://dash.deno.com/new?url=https://raw.githubusercontent.com/discordeno/serverless-deno-deploy-template/main/mod.ts&env=DISCORD_PUBLIC_KEY,DISCORD_TOKEN,DISCORD_LOGS_WEBHOOK,REDEPLOY_AUTHORIZATION)
## Features
- High-speed signature verification (WASM)
- Builtin Logger
- Commands creation and modification on the fly
- Easy-to-use and feature-rich## Usage
- [Create a Deno Deploy project using this template](https://dash.deno.com/new?url=https://raw.githubusercontent.com/discordeno/serverless-deno-deploy-template/main/mod.ts&env=DISCORD_PUBLIC_KEY,DISCORD_TOKEN,DISCORD_LOGS_WEBHOOK,REDEPLOY_AUTHORIZATION)
![Create a New Project - Deno Deploy](https://i.ibb.co/LtrQzwF/image.png)
- Input the required environment variables prompted in the textboxes and click on "Create".
![Environment variables - Deno Deploy](https://i.ibb.co/HXPgQHw/image.png)
- Fork the repo with the **Use This Template** button at the top right. Then, update the deployment URL to the forked or template URL and click on "Deploy" button.
![Deploy from URL - Deno Deploy](https://i.ibb.co/b3VCD4C/image.png)
- And congratulations! You have deployed your project on Deno Deploy. Simple, wasn't it?