This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require("axios"); | |
const fs = require("fs-extra"); | |
//const tinyurl = require("tinyurl"); | |
const baseApiUrl = async () => { | |
const base = await axios.get(`https://raw.githubusercontent.com/Blankid018/D1PT0/main/baseApiUrl.json`); | |
return base.data.api; | |
}; | |
const config = { | |
name: "autodl", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require("axios"); | |
const { getPrefix } = global.utils; | |
const { commands, aliases } = global.GoatBot; | |
const fontBaseUrl = | |
"https://raw.githubusercontent.com/Saim12678/Saim69/1a8068d7d28396dbecff28f422cb8bc9bf62d85f/font"; | |
const imageURL = "https://files.catbox.moe/34pkl1.jpg"; | |
// Category emojis mapping | |
const categoryEmojis = { | |
"18+": "🔞 |", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const moment = require("moment-timezone"); | |
// Price simulation with time-based seed for consistency | |
function getTimeBasedSeed() { | |
const now = Date.now(); | |
return Math.floor(now / (60 * 1000)); // Changes every minute | |
} | |
function seededRandom(seed, symbol) { | |
const x = Math.sin(seed + symbol.charCodeAt(0)) * 10000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const moment = require("moment-timezone"); | |
// Price simulation with time-based seed for consistency | |
function getTimeBasedSeed() { | |
const now = Date.now(); | |
return Math.floor(now / (60 * 1000)); // Changes every minute | |
} | |
function seededRandom(seed, symbol) { | |
const x = Math.sin(seed + symbol.charCodeAt(0)) * 10000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require("axios"); | |
const fs = require("fs"); | |
const path = require("path"); | |
// Full-width bold converter | |
function toFullWidthBold(str) { | |
const map = { | |
A:'𝐀',B:'𝐁',C:'𝐂',D:'𝐃',E:'𝐄',F:'𝐅',G:'𝐆', | |
H:'𝐇',I:'𝐈',J:'𝐉',K:'𝐊',L:'𝐋',M:'𝐌',N:'𝐍', | |
O:'𝐎',P:'𝐏',Q:'𝐐',R:'𝐑',S:'𝐒',T:'𝐓',U:'𝐔', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require("axios"); | |
const fs = require("fs"); | |
const path = require("path"); | |
// Full-width bold converter | |
function toFullWidthBold(str) { | |
const map = { | |
A:'𝐀',B:'𝐁',C:'𝐂',D:'𝐃',E:'𝐄',F:'𝐅',G:'𝐆', | |
H:'𝐇',I:'𝐈',J:'𝐉',K:'𝐊',L:'𝐋',M:'𝐌',N:'𝐍', | |
O:'𝐎',P:'𝐏',Q:'𝐐',R:'𝐑',S:'𝐒',T:'𝐓',U:'𝐔', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require("axios"); | |
const fs = require("fs"); | |
const path = require("path"); | |
const { createCanvas, loadImage } = require("canvas"); | |
// Full-width bold converter | |
function toFullWidthBold(str) { | |
const map = { | |
A:'𝐀',B:'𝐁',C:'𝐂',D:'𝐃',E:'𝐄',F:'𝐅',G:'𝐆', | |
H:'𝐇',I:'𝐈',J:'𝐉',K:'𝐊',L:'𝐋',M:'𝐌',N:'𝐍', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { config } = global.GoatBot; | |
const { writeFileSync } = require("fs-extra"); | |
module.exports = { | |
config: { | |
name: "admin", | |
version: "1.6", | |
author: "NTKhang", | |
countDown: 5, | |
role: 2, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { config } = global.GoatBot; | |
const { writeFileSync } = require("fs-extra"); | |
module.exports = { | |
config: { | |
name: "admin", | |
version: "1.5", | |
author: "NTKhang & Modified by Saim & GPT", | |
countDown: 5, | |
role: 2, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const path = require('path'); | |
const axios = require('axios'); | |
const baseApiUrl = async () => { | |
const base = await axios.get('https://raw.githubusercontent.com/Saim12678/Saim/main/baseApiUrl.json'); | |
return base.data.api; | |
}; | |
module.exports = { |
NewerOlder