wrzucamy śmietnik :DDDD

This commit is contained in:
Szprink 2025-08-12 18:39:05 +02:00
parent 6d3524eed5
commit cded4e036a
10 changed files with 2296 additions and 0 deletions

16
commands/dcstatus.js Normal file
View file

@ -0,0 +1,16 @@
module.exports = {
data: {
"name": 'dcstatus',
"usage": '',
"description": 'Check if Discord is working.'
},
async execute(event, bot) {
const response = await fetch('https://discordstatus.com/api/v2/status.json');
if (!response.ok) {
event.reply("Failed to download status!")
} else {
const json = await response.json()
event.reply(`${json.status.description}: ${json.page.url}`)
}
}
}