Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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?