<script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer>
  const button = new Crate({
    server: '299881420891881473',
    channel: '355719584830980096',
    glyph: ['https://thecatapi.com/api/images/get?format=src&type=gif&' + Date.now(), '100%']
  })
  
  // Random cat pictures every 1.5s
  setInterval(() => {
    button.options.glyph = ['https://thecatapi.com/api/images/get?format=src&type=gif&' + Date.now(), '100%']
    
    button.notify({
      content: 'Background updated',
      timeout: 1000
    })
  }, 1500)
</script>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.