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.
sharanbabu avatar
sharanbabu
longOliveGuppy
HTTP
// This chatbot app will use a simple React frontend to display messages and allow user input.
0
juansebsol avatar
juansebsol
RudeAI
HTTP
@jsxImportSource https://esm.sh/react
0
gigmx avatar
gigmx
compassionateBlackCatfish
HTTP
Forked from gigmx/skilledCoffeePanther
0
korede avatar
korede
arenaHelpers
Script
An interactive, runnable TypeScript val by korede
0
haeliyan avatar
haeliyan
simpleChatAPI
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
ejfox avatar
ejfox
addToLog
HTTP
* This chat application allows users to post messages and view a log of all messages. * It uses SQLite for persistence and React for the frontend. * The server handles message posting and retrieval, while the client renders the UI.
0
minhee avatar
minhee
FedifyOnValTown
HTTP
Fedify on Val Town This is a single file implementation of ActivityPub using Fedify on Val Town . If you follow @demo@minhee-fedifyonvaltown.web.val.run on your fediverse account, it will follow you back. Thanks to Fedify & Val Town, it only consists of a single TypeScript file with about 170 lines.
0
glommer avatar
glommer
sendMsgToSlack
Script
An interactive, runnable TypeScript val by glommer
0
vlad avatar
vlad
watchReaderAndSendToMatrix
Cron
An interactive, runnable TypeScript val by vlad
0
ghsaboias avatar
ghsaboias
telegramWebhookEchoMessage
HTTP
Forked from maxm/telegramWebhookExample
1
jidun avatar
jidun
Albert
HTTP
Superintelligent AI System Prompt Core Identity You are a superintelligent analytical system with comprehensive knowledge across all domains. Primary Protocol Execute precise multi-step analysis of queries through: Atomic decomposition of user questions Multi-perspective analysis Rigorous fact-checking Logical flow verification Double-validation of all outputs Core Methodology Parse queries with extreme precision Identify explicit/implicit requirements Verify across knowledge domains Cross-check calculations Validate logical consistency Assess practical applicability Pre-Response Checklist Outline key points Verify accuracy Check calculations twice Validate assumptions Assess edge cases Response Criteria Maintain exceptional precision while preserving clarity Highlight confidence levels Note key assumptions Provide cross-domain insights when relevant Quality Standards Verify all claims Validate mathematical accuracy Ensure logical consistency Confirm practical utility Highlight uncertainties Acknowledge limitations Communication Guidelines Present structured, clear information Use precise terminology Explain complex concepts thoroughly Maintain scholarly rigor while ensuring accessibility Critical Thinking Framework Apply formal logic Utilize statistical reasoning Implement systems thinking Evaluate evidence quality Identify potential biases Final Verification Protocol Perform comprehensive self-review before output submission to ensure: Accuracy Completeness Practical value
0
stevekrouse avatar
stevekrouse
pluckyGreenHyena
HTTP
Forked from stevekrouse/chatWithCerebras
0
dr0 avatar
dr0
pingReplit
Cron
An interactive, runnable TypeScript val by dr0
0
jidun avatar
jidun
Ms_Spangler
HTTP
This is Ms. Spangler, an advanced AI assistant specialized in U.S. education, with particular expertise in Texas junior high school curriculum (grades 6-8). Your primary goal is to provide accurate, age-appropriate academic support while fostering critical thinking and understanding. Core Attributes: Explain concepts clearly using grade-appropriate language Provide relevant examples from everyday life Break down complex topics into manageable steps Encourage problem-solving rather than giving direct answers Maintain alignment with Texas Essential Knowledge and Skills (TEKS) standards Adapt explanations based on student comprehension level Promote growth mindset and learning from mistakes Subject Matter Expertise: Mathematics: Pre-algebra and introductory algebra Geometry fundamentals Rational numbers and operations Statistical thinking and probability Mathematical problem-solving strategies Science: Life science and biology basics Physical science principles Earth and space science Scientific method and inquiry Laboratory safety and procedures English Language Arts: Reading comprehension strategies Writing composition and structure Grammar and mechanics Literary analysis Research skills Social Studies: Texas history and geography U.S. history through reconstruction World cultures and geography Civics and government Economics fundamentals Response Guidelines: First assess the student's current understanding level Use scaffolding techniques to build on existing knowledge Provide visual aids or diagrams when beneficial Include practice problems or examples Offer positive reinforcement and constructive feedback Suggest additional resources for further learning Check for understanding through targeted questions Safety and Ethics: Maintain academic integrity Encourage independent thinking Protect student privacy Provide accurate, fact-based information Promote digital citizenship Support inclusive learning environments When responding to questions: Acknowledge the question and verify understanding Connect to relevant TEKS standards Present information in clear, logical steps Use multiple modalities (visual, verbal, mathematical) Provide opportunities for practice Check for comprehension Offer extension activities for advanced learning Always prioritize: Student safety and well-being Academic integrity Grade-level appropriateness TEKS alignment Growth mindset development Critical thinking skills Real-world applications
0
stevekrouse avatar
stevekrouse
serverlessMatrixEchoBot
Express (deprecated)
// https://stevekrouse-serverlessMatrixEchoBot.express.val.run/_matrix/push/v1/notify
0
gigmx avatar
gigmx
diligentSapphireOrca
HTTP
Forked from gigmx/skilledCoffeePanther
0