-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
night0721
committed
Jun 14, 2021
1 parent
b946d5f
commit 940fe83
Showing
10 changed files
with
228 additions
and
831 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
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 |
---|---|---|
@@ -1,35 +1,73 @@ | ||
const { Client, Message, MessageEmbed } = require("discord.js"); | ||
module.exports = { | ||
name: "fight", | ||
description: "Gooooooooooooooooooolag!", | ||
timeout: 10000, | ||
description: "Goooooooooooooooolag!", | ||
timeout: 15000, | ||
/** | ||
* @param {Client} client | ||
* @param {Message} message | ||
* @param {String[]} args | ||
*/ | ||
run: async (client, message, args) => { | ||
const Fight = [ | ||
"`Snow Gae`", | ||
"`Not Gae`", | ||
"`Ultimate Gae`", | ||
"`Gae`", | ||
"`Gae beyond repair`", | ||
"`Akimbo Gae`", | ||
"`Mega Gae`", | ||
"`Super Gae`", | ||
"`Ultra Gae`", | ||
"`Terminal Gae`", | ||
"`Dead`", | ||
"`Path Gae`", | ||
"`Cheez Gae`", | ||
"`Zero Gae`", | ||
"`KDR Gae`", | ||
"`! not Gae`", | ||
const gaes = [ | ||
"Gae", | ||
"Super Gae", | ||
"Ultra Gae", | ||
"Snow Gae", | ||
"Ultimate Gae", | ||
"Terminal Gae", | ||
"Akimbo Gae", | ||
"Dead(extended timer)", | ||
"Mega Gae", | ||
"Cheez Gae", | ||
"Gath Gae", | ||
"Koosun Gae", | ||
"KDR Gae", | ||
"Gaezer Gae", | ||
"Big Gae", | ||
"Horni Gae", | ||
"Zero Gae", | ||
"Gae beyond repair", | ||
"Dead×2(extended timer)", | ||
"Not Gae", | ||
"Animus Gae", | ||
"Dust Gae", | ||
"Orcus Gae", | ||
"Gulag Cleaner", | ||
"Kedar Gae", | ||
"Smol Gae", | ||
"Meta Gae", | ||
"Mono Gae", | ||
"Stippled Gae", | ||
"BSA Gae", | ||
"Oreo Gae", | ||
"Random Gae", | ||
"Tortol Gae", | ||
"Amogus Gae", | ||
"Gae×2", | ||
"Dan Gae", | ||
"Real Gae©®™", | ||
"Mastered Ultra Instinct Gae", | ||
"Bamboozled", | ||
"More Gae", | ||
"Morrre Gae", | ||
"Most Gae", | ||
"Undisputable Gae", | ||
"Gae Prince of Horni", | ||
"Gae with Y", | ||
"Phatopenisis Gae", | ||
"Gathophile", | ||
"a Bot", | ||
"locknload with 200 round RPD gae", | ||
"ros gae", | ||
]; | ||
const fightIndex = Fight[Math.floor(Math.random() * Fight.length)]; | ||
message.channel.send( | ||
`**You have taken a chance at redemption in The Gulag, you fight only to find out that you're ${fightIndex}. If you somehow turned out to not be gae, DM an admin to get unmuted early you lucky bastard!!**` | ||
); | ||
const gae = gaes[Math.floor(Math.random() * gaes.length)]; | ||
const embed = new MessageEmbed() | ||
.setTitle("**Gulag Fight**") | ||
.setDescription( | ||
`**${message.author}has taken a chance at redemption in The Gulag. \nYou fight only to find out that you're \`${gae}\`. If you somehow turned out to not be gae, DM an admin to get your timer halved ||only if your mute is less than 69m||**` | ||
) | ||
.setColor(5198940); | ||
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,26 @@ | ||
const { Client, Message, MessageEmbed } = require("discord.js"); | ||
|
||
module.exports = { | ||
name: "pin", | ||
usage: "(Message ID)", | ||
description: "Pin a message in the server", | ||
BotPerm: "MANAGE_MESSAGES", | ||
UserPerm: "MANAGE_MESSAGES", | ||
/** | ||
* @param {Client} client | ||
* @param {Message} message | ||
* @param {String[]} args | ||
*/ | ||
run: async (client, message, args) => { | ||
if (!args[0]) return client.err(message, "Moderation", "pin", 27); | ||
try { | ||
const ch = message.guild.channels.cache.get(message.channel.id); | ||
const msgs = await ch.messages.fetch(args[0]); | ||
if (!msgs) return client.err(message, "Moderation", "pin", 52); | ||
await msgs.pin(); | ||
} catch (e) { | ||
console.log(e); | ||
return client.err(message, "Moderation", "pin", 999); | ||
} | ||
}, | ||
}; |
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
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,19 @@ | ||
const fetch = require("node-fetch"); | ||
module.exports = { | ||
name: "docs", | ||
usage: "(Query)", | ||
description: "Search the discord.js docs for something!", | ||
run: async (client, message, args) => { | ||
const query = args.join(" "); | ||
if (!query) return client.err(message, "Utilities", "docs", 51); | ||
fetch( | ||
`https://djsdocs.sorta.moe/v2/embed?src=stable&q=${encodeURIComponent( | ||
query | ||
)}` | ||
) | ||
.then(res => res.json()) | ||
.then(data => { | ||
message.inlineReply({ embed: data }); | ||
}); | ||
}, | ||
}; |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.