feat: Añadir opción para invitar bot en la interfaz de usuario del panel de control

This commit is contained in:
Shni
2025-10-15 03:23:50 -05:00
parent c3f20f99c2
commit e1dde1a027
3 changed files with 34 additions and 1 deletions

View File

@@ -31,6 +31,9 @@
<div class="w-5 h-5 rounded-full bg-white/8 flex items-center justify-center text-xs text-white">S</div>
<% } %>
<div class="flex-1 text-sm truncate pl-1"><%= g.name %></div>
<% if (typeof g.botInGuild === 'boolean' && !g.botInGuild) { %>
<a href="https://discord.com/oauth2/authorize?client_id=991062751633883136&permissions=2416176272&integration_type=0&scope=bot&guild_id=<%= g.id %>" class="text-xs text-sky-400 hover:underline ml-2" target="_blank" rel="noopener">Invitar bot</a>
<% } %>
</div>
<% }) %>
<% } else { %>