mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-13 01:36:23 +00:00
Make WidgetBot Great Again!
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
<script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer>
|
||||
const button = new Crate({
|
||||
server: '396055506072109067',
|
||||
channel: '396055506663374849',
|
||||
color: '#795548',
|
||||
indicator: false,
|
||||
notifications: true
|
||||
})
|
||||
new Crate({
|
||||
server: '396055506072109067',
|
||||
channel: '396055506663374849',
|
||||
color: 'black',
|
||||
indicator: false,
|
||||
notifications: true,
|
||||
indicator: true,
|
||||
timeout: 5000
|
||||
})
|
||||
|
||||
button.notify('Need a 🤚? Hot sweaty geeks are waiting to chat to you! Click 👇')
|
||||
</script>
|
||||
// Display for 10 seconds + custom avatar
|
||||
crate.notify({
|
||||
content: 'Need a 🤚? Hot, sweaty geeks are waiting to chat to you! Click 👇',
|
||||
timeout: 5000,
|
||||
avatar: 'https://avatars2.githubusercontent.com/u/1524686?s=400&v=4'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user