forked from Endternvl/zAltmr-Alpha
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
223 changed files
with
8,176 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
run="node index.js" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"junk": { | ||
"symbol": "🔧", | ||
"max": 30, | ||
"min": 10 | ||
}, | ||
"common": { | ||
"symbol": "🐟", | ||
"max": 70, | ||
"min": 30 | ||
}, | ||
"uncommon": { | ||
"symbol": "🐠", | ||
"max": 90, | ||
"min": 50 | ||
}, | ||
"rare": { | ||
"symbol": "🦑", | ||
"max": 175, | ||
"min": 130 | ||
}, | ||
"legendary": { | ||
"symbol": "🐋", | ||
"max": 500, | ||
"min": 100 | ||
}, | ||
"mythical": { | ||
"symbol": "💎", | ||
"max": 1000, | ||
"min": 300 | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[ | ||
"You work as a flatulence smell reduction underwear maker and earn", | ||
"You work at Grandma's restaurant as a cook and earn", | ||
"You work as a professional smuggler and earn", | ||
"You work as a pumpkin painter and earn", | ||
"You work as a engineer and earn", | ||
"You work as a meerkat behaviour consultant and earn", | ||
"Your job as a fart collector is very interesting and earns you", | ||
"You work as a penguinologist and earn", | ||
"You work as a ear cleaner and earn", | ||
"You develop games and earn", | ||
"You work as a personal shopper and earn", | ||
"You work as a dog surfing instructor and earn", | ||
"You work as a beefeater and earn", | ||
"You work as a comedian and earn", | ||
"You work as the head of elephants and earn", | ||
"You work as an elementary school teacher and earn", | ||
"You worked as a voice actor for Spongebob and managed to gain", | ||
"You had a fruitful day at the office today and earned", | ||
"You actually finished the plate of vegetables that your parents made you eat! You were awarded", | ||
"You work as child birth educator and earn", | ||
"You work as a body pillow factory salesman on the Internet for real weebs, the weebs gave you", | ||
"You work as a vibration consultant and earn", | ||
"Work at the icecream shop of your childhood dreams and earn", | ||
"You work as a professional minecraft hacker. You manage to rake in", | ||
"You dabbed so hard that even your mother is proud! You make", | ||
"You work as a professional cleaner. After hiding the body, you're handed", | ||
"You got cloned for sciene. You earned", | ||
"You work as a police officer and earn", | ||
"You work as a bush pruner for Donald Trump and earn", | ||
"You work as a paper towel sniffer and earn", | ||
"You work as a water slide tester and earn", | ||
"You milk a cow for", | ||
"You work as a fucker.", | ||
"You work as a roblox gamer and earn ⏣" | ||
] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# 🤖 zAltmr | ||
#### A **Multipurposed Discord Bot** Made Using [discord.js](https://discord.js.org/#) | ||
 | ||
|
||
## ℹ About zAltmr | ||
zAltmr Has More Than 20 Commands, Cool Features, And Epic! Made By 1 User, [Skaryet](https://github.com/endternvl). zAltmr's Prefix Is Changeable, Using [quick.db](http://quickdb.js.org/). NSFW Content, Only Allowed In NSFW, Help Command With Command Folder Name! | ||
|
||
### Is zAltmr's Source Code Free To Use? | ||
Sure, It's Free! You Can Use It. But If You Got Tons Of Errors, Don't Ask Me. Try To Do What Error's Want. | ||
|
||
### Setup zAltmr 👨💻 | ||
- First, All You Have To Do Is `npm i` | ||
- Then, Set Up The `./config.json` | ||
- To Start, Do `node index.js` | ||
|
||
> © Copyright 2021 zAltmr |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
const weather = require('weather-js'); | ||
|
||
const discord = require('discord.js') | ||
|
||
//TIME TO END STREAM | ||
|
||
module.exports = { | ||
|
||
name: "weather", | ||
|
||
description: "Get the weather of anywhere", | ||
|
||
category: "info", | ||
|
||
usage: "weathet <>", | ||
|
||
run: (client, message, args) => { | ||
|
||
|
||
|
||
|
||
|
||
if(!args.length) { | ||
|
||
return message.channel.send("Please give the weather location") | ||
|
||
} | ||
|
||
|
||
|
||
weather.find({search: args.join(" "), degreeType: 'C'}, function(err, result) { | ||
|
||
try { | ||
|
||
|
||
|
||
let embed = new discord.MessageEmbed() | ||
|
||
.setTitle(`Weather - ${result[0].location.name}`) | ||
|
||
.setColor("#ff2050") | ||
|
||
.setDescription("Temperature units can may be differ some time") | ||
|
||
.addField("Temperature", `${result[0].current.temperature} Celcius`, true) | ||
|
||
.addField("Sky Text", result[0].current.skytext, true) | ||
|
||
.addField("Humidity", result[0].current.humidity, true) | ||
|
||
.addField("Wind Speed", result[0].current.windspeed, true)//What about image | ||
|
||
.addField("Observation Time", result[0].current.observationtime, true) | ||
|
||
.addField("Wind Display", result[0].current.winddisplay, true) | ||
|
||
.setThumbnail(result[0].current.imageUrl); | ||
|
||
message.channel.send(embed) | ||
|
||
} catch(err) { | ||
|
||
return message.channel.send("Unable To Get the data of Given location") | ||
|
||
} | ||
|
||
}); | ||
|
||
//LETS CHECK OUT PKG | ||
|
||
|
||
|
||
} | ||
|
||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
const { get } = require("request-promise-native"); | ||
const { MessageEmbed } = require("discord.js") | ||
|
||
module.exports = { | ||
name: "animeinfo", | ||
category: "info", | ||
description: "Get anime information", | ||
usage: "anime <anime_name>", | ||
run: (client, message, args) => { | ||
|
||
|
||
|
||
if(!args.length) { | ||
return message.channel.send("Please Give Anime Name!") | ||
} | ||
//DEFINE OPTIONS | ||
|
||
let option = { | ||
url: `https://kitsu.io/api/edge/anime?filter[text]=${args.join(" ")}`, | ||
method: `GET`, | ||
headers: { | ||
'Content-Type': "application/vnd.api+json", | ||
'Accept': "application/vnd.api+json" | ||
|
||
}, | ||
json: true | ||
} | ||
|
||
|
||
message.channel.send("Fetching The Info...").then(msg => { | ||
get(option).then(body => { | ||
try { | ||
let embed = new MessageEmbed() | ||
.setTitle(body.data[0].attributes.titles.en) | ||
.setColor("RED") | ||
.addField("ℹ About", body.data[0].attributes.synopsis) | ||
.setThumbnail(body.data[0].attributes.posterImage.original) | ||
.addField("⭐ Ratings ⭐", body.data[0].attributes.averageRating) | ||
//.addField("TOTAL EPISODES", body.data[0].attributes.episodeCount) | ||
.setImage(body.data[0].attributes.coverImage.large) | ||
//try it | ||
|
||
|
||
message.channel.send(embed) | ||
msg.delete(); | ||
|
||
} catch (err) { | ||
msg.delete(); | ||
return message.channel.send("Unable to find this anime"); | ||
} | ||
|
||
|
||
|
||
} | ||
|
||
)}) | ||
|
||
} | ||
|
||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
const Discord = require('discord.js'); | ||
const config = require('../../config.json'); | ||
|
||
|
||
module.exports = { | ||
name: 'avatar', | ||
description: 'Show user avatar', | ||
aliases: ["av"], | ||
category: "info", | ||
usage: '', | ||
accessableby: "", | ||
run: async (client, message, args) => { | ||
|
||
const member = message.mentions.members.first() || message.guild.members.cache.get(args[0]) || message.guild.members.cache.find(r => r.user.username.toLowerCase() === args.join(' ').toLocaleLowerCase()) || message.guild.members.cache.find(r => r.displayName.toLowerCase() === args.join(' ').toLocaleLowerCase()) || message.member; | ||
const embed = new Discord.MessageEmbed() | ||
.setColor(config.embedcolor) | ||
.setTitle(`❯ ${client.user.username} - Users ${member.user.tag}`) | ||
.setDescription(`❯ \`Download Links:\` **[png](${member.user.displayAvatarURL({format: "png", size: 1024})}) | [jpg](${member.user.displayAvatarURL({format: "jpg", size: 1024})}) | [gif](${member.user.displayAvatarURL({format: "gif", size: 1024, dynamic: true})}) | [webp](${member.user.displayAvatarURL({format: "webp", size: 1024})})**`) | ||
.setImage(member.user.displayAvatarURL({ dynamic: true, size: 1024 })) | ||
.setFooter(`Requested by ${message.member.displayName}`, message.author.displayAvatarURL({ dynamic: true, size: 1024 })) | ||
.setTimestamp() | ||
return message.channel.send(embed) | ||
|
||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const { Client, Message, MessageEmbed } = require('discord.js'); | ||
|
||
module.exports = { | ||
name: 'badges', | ||
category: 'info', | ||
description: 'just **badge**', | ||
usage: 'badge <usr>', | ||
/** | ||
* @param {Client} client | ||
* @param {Message} message | ||
* @param {String[]} args | ||
*/ | ||
run: async(client, message, args) => { | ||
const user = message.mentions.users.first() || message.author; | ||
|
||
const flags = user.flags.toArray(); | ||
|
||
console.log(flags); | ||
|
||
message.channel.send(`${user}'s badges: ${flags.join(', ')}`) | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
|
||
const Discord = require("discord.js") | ||
|
||
const { version } = require("discord.js"); | ||
const moment = require("moment"); | ||
const m = require("moment-duration-format"); | ||
let os = require('os') | ||
let cpuStat = require("cpu-stat") | ||
const ms = require("ms") | ||
|
||
|
||
|
||
|
||
module.exports = { | ||
name: "botinfo", | ||
category: "info", | ||
description: "Sends detailed info about the client", | ||
usage: "[command]", | ||
run: async (client, message, args) => { | ||
//command | ||
let cpuLol; | ||
cpuStat.usagePercent(function(err, percent, seconds) { | ||
if (err) { | ||
return console.log(err); | ||
} | ||
const duration = moment.duration(client.uptime).format(" D [days], H [hrs], m [mins], s [secs]"); | ||
const botinfo = new Discord.MessageEmbed() | ||
.setAuthor(client.user.username) | ||
.setTitle("__**Stats:**__") | ||
.setColor("RANDOM") | ||
.addField("⏳ Mem Usage", `${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)} / ${(os.totalmem() / 1024 / 1024).toFixed(2)} MB`, true) | ||
.addField("⌚️ Uptime ", `${duration}`, true) | ||
.addField("📁 Users", `${client.users.cache.size}`, true) | ||
.addField("📁 Servers", `${client.guilds.cache.size}`, true) | ||
.addField("📁 Channels ", `${client.channels.cache.size}`, true) | ||
.addField("👾 Discord.js", `v${version}`, true) | ||
.addField("🤖 Node", `${process.version}`, true) | ||
.addField("🤖 CPU", `\`\`\`md\n${os.cpus().map(i => `${i.model}`)[0]}\`\`\``) | ||
.addField("🤖 CPU usage", `\`${percent.toFixed(2)}%\``, true) | ||
.addField("🤖 Arch", `\`${os.arch()}\``, true) | ||
.addField("💻 Platform", `\`\`${os.platform()}\`\``, true) | ||
.addField("API Latency", `${(client.ws.ping)}ms`) | ||
message.channel.send(botinfo) | ||
}); | ||
} | ||
}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
const { MessageEmbed } = require('discord.js'); | ||
|
||
module.exports = { | ||
name: 'allbots', | ||
description: 'show all bots in guild', | ||
usage: 'allbots', | ||
category: 'info', | ||
run: async (client, message, args) => { | ||
|
||
let checked = '<:online:826091925945319474>'; | ||
let unchecked = '<:offline:826092002886025246>'; | ||
|
||
|
||
const allbots = message.guild.members.cache.filter(m => m.user.bot).map((m) => m).map((m) => `${m.user.flags ? checked : unchecked} ${m.user.tag} (${m.id})`).join('\n'); | ||
|
||
const embed = new MessageEmbed() | ||
.setColor('RANDOM') | ||
.setAuthor(message.author.tag, message.author.displayAvatarURL({ dynamic: true })) | ||
.setDescription(allbots) | ||
.setFooter(client.user.tag, client.user.displayAvatarURL()) | ||
.setTimestamp(); | ||
message.channel.send(embed) | ||
} | ||
}; |
Oops, something went wrong.