document.addEventListener('DOMContentLoaded', function() {
feather.replace();
// Sample bot data (in a real app, this would come from an API)
const sampleBots = [
{
id: 1,
name: "Moderation Pro",
description: "Advanced moderation bot with auto-moderation, logging, and customizable filters.",
price: 25,
cashapp: "$modbotdev",
image: "http://static.photos/technology/320x240/1"
},
{
id: 2,
name: "Music Maestro",
description: "High quality music bot with Spotify integration and playlist management.",
price: 15,
cashapp: "$musiccoder",
image: "http://static.photos/music/320x240/2"
},
{
id: 3,
name: "Game Stats Tracker",
description: "Tracks player statistics for popular games like Valorant and League of Legends.",
price: 20,
cashapp: "$gamestats",
image: "http://static.photos/gaming/320x240/3"
}
];
// Render bots to the marketplace
const renderBots = (bots) => {
const container = document.getElementById('bots-container');
container.innerHTML = '';
bots.forEach(bot => {
const botCard = document.createElement('div');
botCard.className = 'bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition duration-300';
botCard.innerHTML = `