-enabled function
        copyToClipboard(url + "/j/" + invite_code, (success) => {
            if (success) {
                // Add class="text-green-500" to icon
                icon.classList.add("text-green-500");
                // wait for 1 second
                setTimeout(function() {
                    // remove class="text-green-500" from icon
                    icon.classList.remove("text-green-500");
                }, 1000);
            } else {
                // Fallback already shows ale