Skip to content

reinx7/Keybotv1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

KeyBot Hub

Servidor que inicia bots Discord reais via POST do site KeyBot.

Como funciona

  • O frontend (Lovable) envia POST para /start-bot com token do usuário.
  • O Render inicia um bot separado por userId.
  • O bot fica online até o tempo expirar (durationMinutes).
  • Logs reais no Render.

Deploy no Render

  1. Conecte esse repo no Render
  2. Build Command: yarn install ou npm install
  3. Start Command: npm start
  4. Environment Variables: não precisa (token vem via POST)

Teste

POST https://keybotv1.onrender.com/start-bot

Body: { "token": "token-do-usuario", "userId": "user123", "durationMinutes": 5 }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors