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.
abdullahhju avatar
abdullahhju
chatGPTClone
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
websrai avatar
websrai
tidyRedWhale
HTTP
@jsxImportSource https://esm.sh/react
0
z233 avatar
z233
bebopBotWebhook
Script
An interactive, runnable TypeScript val by z233
0
keval avatar
keval
ecstaticSalmonOrangutan
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
1
DFB avatar
DFB
askAI
Script
An interactive, runnable TypeScript val by DFB
0
kirineko avatar
kirineko
chat
Script
Forked from webup/chat
0
srijanb69 avatar
srijanb69
GeminiVoiceCallApp
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
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
19
Next