starcode.js

0.1.0 • Public • Published

STARCODE.JS

Bilgi/İnformation:

const sc = require("starcode.js")

sc.version // Gaves you a your npm version
sc.version // Size kullandığınız npm versiyonunu söyler

Example Uses \ Örnek Kullanımlar

date:

const sc = require("starcode.js")

console.log(sc.date(1617904949283, "tr-TR")) // 8 Nisan 2021 Perşembe
console.log(sc.date(1617904949283, "en-EN")) // Thursday, April 8, 2021

ghostMention:

const sc = require("starcode.js")

sc.ghostMention(client, 15, member, channel) // ghost mention a user in the channel
sc.ghostMention(client, 15, kişi, kanal) // kişiye kanalda hayalet ping atar

messageDelete:

const sc = require("starcode.js")

sc.messageDelete(client, 3000, "hi", channel) // send a message to the channel and delete it in a 3 second.
sc.messageDelete(client, 3000, "selam knk", kanal) // kanala mesaj atar ve girilen süre içinde siler. (3000 = 3 saniye)

siteget:

const sc = require("starcode.js")

sc.siteget("https://google.com").then(value => console.log(value)) // {link: "google screen shoot link", png: "google screen shoot png"}
sc.siteget("https://google.com").then(çıktı => console.log(çıktı)) // {link: "google ekran görüntüsü linki", png: "google ekran görüntüsünün png dosyası"}

uptime:

const sc = require("starcode.js")

sc.uptime("https://myawesomeglitchproject.glitch.me/", 4) // Do uptime to the site every 4 minute
sc.uptime("https://benimharikaglitchprojem.glitch.me/", 4) // Siteye her 4 dakikada bir uptime yapar

discordDate:

const sc = require("starcode.js")

sc.discordDate(60 * 60 * 1000) // çıktı (discordda bir saat sonra mesajı)
sc.discordDate(60 * 60 * 1000) // return (1 hour later message in discord)

Random

require("starcode.js")
let array = [1,2,3,4,5,6,7,8,9,10]

array.Random() // örnek çıktı: 5 (parentezin içine true yazarsanız çıktı örnek olarak şöyle olacaktır: {array: [1,2,3,4,6,7,8,9,10], random: 5})
array.Random() // example return: 3 (if you put true in parentheses, the return looks like this: {array: [1,2,3,4,5,7,8,9,10], random: 6})

Don't tested functions / Test edilmemiş fonksiyonlar

const d = require("discord.js")
const client = new d.Client({intents: 32767, shards: "auto"})

client.join("channel id") // joins a voice channel
client.leave("guild id") // leaves from a voice channel
client.join("kanal id'si") // ses kanalına katılır
client.leave("sunucu id'si") // ses kanalından ayrılır 


client.login("Your bot token/Botunuzun tokeni")

Package Sidebar

Install

npm i starcode.js

Weekly Downloads

79

Version

0.1.0

License

Apache-2.0

Unpacked Size

27.2 kB

Total Files

12

Last publish

Collaborators

  • star-coders