Back to APIs list

Discord API examples & templates

Use these vals as a playground to view and fork Discord API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
csl_ avatar
csl_
dndoodle
HTTP
DNDoodle My DND group has used doodle for ages to schedule our sessions, but it never really worked that great for us. We just didn't need that many features. This was my very first val and honestly, I couldn't be happier with it.
1
websrai avatar
websrai
tidyRedWhale
HTTP
@jsxImportSource https://esm.sh/react
0
z233 avatar
z233
bebopBotWebhook
Script
An interactive, runnable TypeScript val by z233
0
DFB avatar
DFB
askAI
Script
An interactive, runnable TypeScript val by DFB
0
kirineko avatar
kirineko
chat
Script
Forked from webup/chat
0
tjnoe avatar
tjnoe
handleGroupmeMessage
Express (deprecated)
An interactive, runnable TypeScript val by tjnoe
0
charmaine avatar
charmaine
dailySlackRoundup
Cron
Forked from mikker/dailySlackRoundup
0
vtdocs avatar
vtdocs
slackReplyToMessage
Script
Part of the A Slack bot that replies to mentions guide on docs.val.town .
2
healeycodes avatar
healeycodes
firehoseReadMessagesExample
Script
Forked from lukas/sampleFirehose
0
rozek avatar
rozek
GDI_AIChatCompletion
HTTP
This val is part of a series of examples to introduce "val.town" in my computer science course at Stuttgart University of Applied Sciences . The idea is to motivate even first-semester students not to wait but to put their ideas into practice from the very beginning and implement web apps with frontend and backend. It contains a simple web page which allows users to enter a "System Message" and a "User Message" in order to be sent to a preconfigured server. That server then runs a chat completion and returns the computed "Assistant Message" back to the client where the result is presented to the user. This val is the companion of https://rozek-gdi_aichatcompletionservice.web.val.run/ which contains the server part (aka "backend") for this example. The code was created using Townie - with only a few small manual corrections. This val is licensed under the MIT License.
0
LucasMillen avatar
LucasMillen
MILLENCHAT
HTTP
// "name": "AI Chat Assistant",
0
axif0 avatar
axif0
untitled_cyanMagpie
Script
An interactive, runnable TypeScript val by axif0
0
neurott avatar
neurott
untitled_copperSole
Script
An interactive, runnable TypeScript val by neurott
0
stevekrouse avatar
stevekrouse
untitled_FuPJSmj8
Script
An interactive, runnable TypeScript val by stevekrouse
0
17
Next