Update Bot

This commit is contained in:
2026-03-15 11:58:43 +01:00
parent b67c111ffc
commit cd99275933
560 changed files with 23173 additions and 55113 deletions

View File

@@ -6,7 +6,7 @@ Ce guide t'explique comment configurer l'authentification Discord OAuth2 pour le
1. Va sur le [Discord Developer Portal](https://discord.com/developers/applications)
2. Clique sur **"New Application"** (Nouvelle Application)
3. Donne un nom à ton application (ex: "Femboy Croissant Transcripts")
3. Donne un nom à ton application (ex: "France Femboy Transcripts")
4. Clique sur **"Create"** (Créer)
## Étape 2 : Récupérer le Client ID

View File

@@ -1,327 +0,0 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
:root {
--bg-dark: #0f172a;
--bg-card: #1e293b;
--text-primary: #f8fafc;
--text-secondary: #94a3b8;
--accent: #6366f1;
--accent-hover: #4f46e5;
--success: #10b981;
--warning: #f59e0b;
--danger: #ef4444;
--border: #334155;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg-dark);
color: var(--text-primary);
min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
/* Navbar */
.navbar {
background: rgba(30, 41, 59, 0.8);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
z-index: 50;
}
.brand {
font-size: 1.25rem;
font-weight: 700;
color: var(--text-primary);
display: flex;
align-items: center;
gap: 0.5rem;
}
.brand i { color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; }
.nav-link {
color: var(--text-secondary);
font-weight: 500;
transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.user-menu { display: flex; align-items: center; gap: 1rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border); }
.logout {
color: var(--danger);
font-size: 0.9rem;
font-weight: 600;
padding: 0.5rem 1rem;
border-radius: 0.5rem;
transition: background 0.2s;
}
.logout:hover { background: rgba(239, 68, 68, 0.1); }
/* Layout */
.container { max-width: 1200px; margin: 2rem auto; padding: 0 1.5rem; }
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
flex-wrap: wrap;
gap: 1rem;
}
.title { font-size: 1.5rem; font-weight: 700; }
/* Stats Grid */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 1.5rem;
margin-bottom: 3rem;
}
.stat-card {
background: var(--bg-card);
padding: 1.5rem;
border-radius: 1rem;
border: 1px solid var(--border);
display: flex;
align-items: center;
gap: 1rem;
transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-2px); }
.stat-icon {
width: 48px;
height: 48px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.25rem;
}
.icon-blue { background: rgba(99, 102, 241, 0.1); color: var(--accent); }
.icon-green { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.icon-orange { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.icon-red { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.stat-info h3 { font-size: 0.875rem; color: var(--text-secondary); font-weight: 500; }
.stat-info p { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); }
/* Table & Lists */
.card {
background: var(--bg-card);
border-radius: 1rem;
border: 1px solid var(--border);
overflow: hidden;
}
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
text-align: left;
padding: 1rem 1.5rem;
background: rgba(0,0,0,0.2);
color: var(--text-secondary);
font-weight: 600;
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
td {
padding: 1rem 1.5rem;
border-top: 1px solid var(--border);
color: var(--text-primary);
}
tr:hover td { background: rgba(255,255,255,0.02); }
/* Badges */
.badge {
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 0.25rem;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-ouvert { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.status-fermé { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.status-en-attente { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.type-badge { background: rgba(255,255,255,0.05); color: var(--text-secondary); border: 1px solid var(--border); }
/* Buttons & Filters */
.btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
border-radius: 0.5rem;
font-size: 0.875rem;
font-weight: 500;
transition: all 0.2s;
cursor: pointer;
border: none;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.filters {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.filter-btn {
background: var(--bg-card);
border: 1px solid var(--border);
color: var(--text-secondary);
padding: 0.5rem 1rem;
border-radius: 0.5rem;
cursor: pointer;
font-size: 0.875rem;
transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
background: var(--accent);
color: white;
border-color: var(--accent);
}
.empty-state {
padding: 4rem;
text-align: center;
color: var(--text-secondary);
}
.empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }
/* Tickets Grid (Dashboard) */
.tickets-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
}
.ticket-card {
background: var(--bg-card);
border-left: 4px solid var(--accent);
padding: 1.5rem;
border-radius: 0.5rem;
border: 1px solid var(--border);
transition: transform 0.2s;
}
.ticket-card:hover { transform: translateY(-2px); }
.ticket-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1rem;
}
.ticket-id {
font-family: monospace;
color: var(--accent);
font-weight: 600;
font-size: 1.1rem;
}
.ticket-type {
font-size: 0.75rem;
padding: 0.25rem 0.5rem;
background: rgba(255,255,255,0.05);
border-radius: 4px;
color: var(--text-secondary);
}
.ticket-info {
font-size: 0.9rem;
color: var(--text-secondary);
margin-bottom: 1rem;
}
.ticket-info div { margin-bottom: 0.25rem; }
.ticket-info strong { color: var(--text-primary); }
.ticket-status {
display: inline-block;
padding: 0.25rem 0.75rem;
border-radius: 999px;
font-size: 0.75rem;
font-weight: 600;
margin-bottom: 1rem;
}
.view-btn {
display: inline-block;
width: 100%;
text-align: center;
padding: 0.5rem;
background: var(--accent);
color: white;
border-radius: 0.5rem;
font-weight: 500;
transition: background 0.2s;
}
.view-btn:hover { background: var(--accent-hover); }
.section {
background: transparent;
border: none;
padding: 0;
box-shadow: none;
margin-bottom: 3rem;
}
.no-tickets {
text-align: center;
padding: 3rem;
background: var(--bg-card);
border-radius: 1rem;
border: 1px solid var(--border);
color: var(--text-secondary);
}
/* Mobile */
@media (max-width: 768px) {
.navbar { padding: 1rem; }
.nav-links { display: none; }
.stats-grid { grid-template-columns: 1fr; }
td, th { padding: 1rem; }
.section-header { flex-direction: column; align-items: flex-start; }
}

View File

@@ -0,0 +1,255 @@
/* Styles pour les transcripts de tickets */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
padding: 20px;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
background: white;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
overflow: hidden;
}
.header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 30px;
text-align: center;
}
.header h1 {
font-size: 2em;
margin-bottom: 10px;
}
.header .ticket-id {
font-size: 1.2em;
opacity: 0.9;
}
.info-section {
padding: 30px;
background: #f8f9fa;
}
.info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
}
.info-item {
background: white;
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.info-label {
font-weight: 600;
color: #666;
font-size: 0.9em;
margin-bottom: 5px;
}
.info-value {
font-size: 1.1em;
color: #333;
}
.status-badge {
display: inline-block;
padding: 5px 15px;
border-radius: 20px;
font-weight: 600;
font-size: 0.9em;
}
.status-open {
background: #10b981;
color: white;
}
.status-closed {
background: #ef4444;
color: white;
}
.status-pending {
background: #f59e0b;
color: white;
}
.messages-section {
padding: 30px;
}
.messages-section h2 {
margin-bottom: 20px;
color: #333;
font-size: 1.5em;
}
.message {
background: #f8f9fa;
border-left: 4px solid #667eea;
padding: 15px;
margin-bottom: 15px;
border-radius: 8px;
}
.message-header {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
font-size: 0.9em;
}
.message-author {
font-weight: 600;
color: #667eea;
}
.message-date {
color: #666;
}
.message-content {
color: #333;
line-height: 1.6;
white-space: pre-wrap;
word-wrap: break-word;
}
.attachments {
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid #dee2e6;
font-size: 0.9em;
}
.attachments a {
color: #667eea;
text-decoration: none;
}
.attachments a:hover {
text-decoration: underline;
}
.candidature-section {
padding: 30px;
background: #f8f9fa;
border-top: 2px solid #667eea;
}
.candidature-section h2 {
margin-bottom: 20px;
color: #333;
font-size: 1.5em;
}
.question-item {
background: white;
padding: 20px;
margin-bottom: 15px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.question-label {
font-weight: 600;
color: #667eea;
margin-bottom: 10px;
font-size: 1.1em;
}
.question-text {
color: #666;
margin-bottom: 10px;
font-style: italic;
}
/* Support pour les anciens transcripts avec question-response */
.question-response {
background: white;
padding: 20px;
margin-bottom: 15px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.question {
margin-bottom: 10px;
color: #667eea;
font-size: 1.1em;
}
.response {
color: #333;
line-height: 1.6;
white-space: pre-wrap;
word-wrap: break-word;
padding: 10px;
background: #f8f9fa;
border-radius: 4px;
}
.no-messages {
text-align: center;
color: #666;
font-style: italic;
padding: 40px;
}
.footer {
background: #f8f9fa;
padding: 20px;
text-align: center;
color: #666;
font-size: 0.9em;
border-top: 1px solid #dee2e6;
}
.footer p {
margin: 5px 0;
}
/* Responsive */
@media (max-width: 768px) {
body {
padding: 10px;
}
.header {
padding: 20px;
}
.header h1 {
font-size: 1.5em;
}
.info-section,
.messages-section,
.candidature-section {
padding: 20px;
}
.info-grid {
grid-template-columns: 1fr;
}
}

File diff suppressed because it is too large Load Diff