Skip to content

Commit 2279e4a

Browse files
committed
Setup bot major
1 parent 6a7deeb commit 2279e4a

162 files changed

Lines changed: 17447 additions & 37848 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# Bot Configuration
2-
DISCORD_TOKEN=your_bot_token_here
3-
CLIENT_ID=your_client_id_here
4-
GUILD_ID=your_guild_id_here_optional
1+
# Configuração Mínima - Metodologia KISS
52

6-
# Environment
7-
NODE_ENV=development
3+
# Essencial - Bot Discord
4+
DISCORD_TOKEN=seu_token_do_bot_aqui
5+
6+
# Essencial - Banco de dados
7+
DATABASE_URL="postgresql://lucy:lucy123456789@localhost:5432/lucydb"
88

9-
# Logging
10-
LOG_LEVEL=info
9+
# Opcional - Personalização
10+
PREFIX=l~
11+
NODE_ENV=development
1112

12-
# Configurações do Supabase (Banco Persistente)
13-
SUPABASE_URL=https://seu-projeto.supabase.co
14-
SUPABASE_KEY=sua_chave_anon_do_supabase_aqui
13+
# Opcional - Painel Admin
14+
ENABLE_ADMIN_PANEL=true
15+
API_PORT=3001
1516

16-
# Configurações opcionais do SQLite
17-
SQLITE_PATH=./data/shortterm.db
17+
# Fim! Só isso que você precisa para funcionar

.env.production

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Configuração para Produção - Lucy Bot
2+
3+
# ===== ESSENCIAL - Bot Discord =====
4+
DISCORD_TOKEN=seu_token_aqui
5+
CLIENT_ID=seu_client_id_aqui
6+
GUILD_ID=seu_guild_id_aqui
7+
8+
# ===== ESSENCIAL - Banco de Dados =====
9+
# Use uma senha FORTE em produção!
10+
POSTGRES_DB=lucydb
11+
POSTGRES_USER=lucy
12+
POSTGRES_PASSWORD=sua_senha_forte_aqui
13+
DATABASE_URL=postgresql://lucy:sua_senha_forte_aqui@postgres:5432/lucydb
14+
DATABASE_DIRECT_URL=postgresql://lucy:sua_senha_forte_aqui@postgres:5432/lucydb
15+
16+
# ===== AMBIENTE =====
17+
NODE_ENV=production
18+
LOG_LEVEL=info
19+
20+
# ===== BOT CONFIGURAÇÕES =====
21+
PREFIX=l~
22+
23+
# ===== PAINEL ADMINISTRATIVO =====
24+
ENABLE_ADMIN_PANEL=true
25+
API_PORT=3001
26+
27+
# ===== OPCIONAIS - Paths para Produção =====
28+
POSTGRES_DATA_PATH=./data/postgres
29+
30+
# ===== RECURSOS - Opcional =====
31+
# Descomente para limitar recursos
32+
# MAX_MEMORY=1G
33+
# MAX_CPU=1.0
34+
35+
# ===== LOGS - Opcional =====
36+
# LOG_FILE=./logs/lucy.log
37+
# LOG_ROTATION=true

.eslintrc.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ package-lock.json
66
# Environment variables
77
.env
88
.env.local
9+
.env.development.local
10+
.env.test.local
11+
.env.production.local
912

1013
# Logs
1114
logs
@@ -35,3 +38,25 @@ coverage/
3538
.Trashes
3639
ehthumbs.db
3740
Thumbs.db
41+
42+
# Docker
43+
.dockerignore
44+
45+
# Build artifacts
46+
dist/
47+
build/
48+
web/dist/
49+
web/build/
50+
51+
# Database backups
52+
backup-*.sql
53+
54+
# SSL certificates
55+
nginx/ssl/
56+
*.pem
57+
*.key
58+
*.crt
59+
60+
# Temporary files
61+
tmp/
62+
temp/

0 commit comments

Comments
 (0)