mirror of
https://github.com/pezkuwichain/pezkuwi-telegram-miniapp.git
synced 2026-06-14 05:11:02 +00:00
feat: add @DKSKurdistanBot with Claude AI assistant
- Add DKS bot support to telegram-bot and telegram-auth functions - Claude-powered Q&A using PezkuwiChain whitepaper knowledge base - Update Telegram social link to dijitalkurdistan channel
This commit is contained in:
@@ -113,8 +113,10 @@ serve(async (req) => {
|
||||
const botTokens: string[] = [];
|
||||
const mainToken = Deno.env.get('TELEGRAM_BOT_TOKEN');
|
||||
const krdToken = Deno.env.get('TELEGRAM_BOT_TOKEN_KRD');
|
||||
const dksToken = Deno.env.get('TELEGRAM_BOT_TOKEN_DKS');
|
||||
if (mainToken) botTokens.push(mainToken);
|
||||
if (krdToken) botTokens.push(krdToken);
|
||||
if (dksToken) botTokens.push(dksToken);
|
||||
|
||||
if (botTokens.length === 0) {
|
||||
return new Response(JSON.stringify({ error: 'Server configuration error' }), {
|
||||
|
||||
Reference in New Issue
Block a user