-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
1 parent
c40687b
commit ee08c98
Showing
426 changed files
with
103,847 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,2 @@ | ||
|
||
TOKEN= |
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,4 @@ | ||
{ | ||
"extends": "tesseract", | ||
"complexity": ["error", { "max": 30 }] | ||
} |
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,4 @@ | ||
|
||
assets/logs/Pogy.log | ||
config.json | ||
node_modules |
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,71 @@ | ||
const { Client, Collection } = require("discord.js"); | ||
const Util = require('./structures/Util'); | ||
const config = require('./config.json'); | ||
const logger = require('./utils/logger'); | ||
const { token } = require('./utils/variables'); | ||
|
||
|
||
|
||
module.exports = class PogyClient extends Client { | ||
constructor(options = {}, sentry) { | ||
super({ | ||
partials: ['MESSAGE', 'CHANNEL', 'REACTION', 'GUILD_MEMBER', 'USER'], | ||
cacheGuilds: true, | ||
cacheChannels: true, | ||
cacheOverwrites: false, | ||
cacheRoles: true, | ||
cacheEmojis: true, | ||
cachePresences: false, | ||
fetchAllMembers: true, | ||
disableMentions: 'everyone', | ||
messageCacheMaxSize: 25, | ||
messageCacheLifetime: 10000, | ||
messageSweepInterval: 12000, | ||
shardCount: 1, | ||
ws: { | ||
intents: [ | ||
"GUILDS", | ||
"GUILD_MEMBERS", | ||
"GUILD_MESSAGES", | ||
"GUILD_EMOJIS", | ||
'GUILD_MESSAGE_REACTIONS', | ||
'GUILD_VOICE_STATES' | ||
], | ||
}, | ||
}); | ||
|
||
this.validate(options); | ||
this.partials = ['MESSAGE', 'CHANNEL', 'REACTION', 'GUILD_MEMBER', 'USER'], | ||
this.commands = new Collection(); | ||
this.events = new Collection(); | ||
this.aliases = new Collection(); | ||
this.utils = require('./utils/utils.js'); | ||
this.mongoose = require('./utils/mongoose'); | ||
this.utils = new Util(this); | ||
this.config = require('./config.json'); | ||
} | ||
|
||
validate(options) { | ||
if (typeof options !== 'object') throw new TypeError('Options should be a type of Object.'); | ||
|
||
if (!token) throw new Error('You must pass the token for the client.'); | ||
this.token = token; | ||
|
||
if(!options.prefix) throw new Error('You must pass a prefix for the client.'); | ||
if(typeof options.prefix !== 'string') throw new TypeError('Prefix should be a type of String.'); | ||
this.prefix = options.prefix; | ||
|
||
if (!options.mongodb_url) throw new Error('You must pass a MONGODB URL for the client.') | ||
} | ||
|
||
async start(token = this.token) { | ||
this.utils.loadCommands() | ||
this.utils.loadEvents() | ||
|
||
super.login(token) | ||
.catch(e => console.log(e)) | ||
|
||
this.mongoose.init() | ||
} | ||
|
||
}; |
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,64 @@ | ||
{ | ||
"image":"<:image_emoji:788427949509836840>", | ||
"currency":"<:currency_emoji:788428132683350058>", | ||
|
||
"games":"<:games_emoji:788428825745817611> ", | ||
"admin":"<:admin_emoji:788429031926005790> ", | ||
"configs":"<:configs_emoji:788427972628447293> ", | ||
"utils":"<:utils_emoji:788429328039280661> ", | ||
"success": "<:success:788438144818217000> ", | ||
|
||
"green":"<:greensquare:803527870609489931> ", | ||
"red":"<:redsquare:803527843661217802>", | ||
|
||
"dot": "<:purple_pogy_dot:788726274940076082> ", | ||
"fail": "<:fail:790491137289879583> ", | ||
|
||
"misc": "<:speaker:790146754645196800> ", | ||
"mod": "<:moderation_emoji:788428121375768586>", | ||
|
||
"pogger1": "<:poggerz:790987235591323659> ", | ||
"heartbreak":"<:heartbreak:790987215324184606> ", | ||
|
||
"lock": "<:lock:790494601189261323> ", | ||
"unlock": "<:unlock:790494567753187338> ", | ||
|
||
"owner": "<:owner:790146744348442624> ", | ||
|
||
"discord_employee":"<:discordemployee:790152842382934038> ", | ||
"discord_partner": "<:partnered:790152935152680960>", | ||
"bughunter_level_1": "<:bughunterl1:790152798623891466> ", | ||
"bughunter_level_2": "<:bughunterl2:790152838763511808> ", | ||
"hypesquad_events": "<:hypesquadevents:790152901569282048> ", | ||
"house_brilliance": "<:brilliance:790152798288871454> ", | ||
"house_bravery": "<:housebravery:790152899769925643> ", | ||
"house_balance": "<:housebalance:790152901259165726> ", | ||
"early_supporter": "<:earlysupporter:790152860742451221> ", | ||
"verified_bot": "<:verifiedbot:790152985870991360> ", | ||
"verified_developer": "<:verifieddev:790152986382303253> ", | ||
|
||
|
||
"online": "<:online:790132184018059304> ", | ||
"idle": "<:Idle:790132098806972426> ", | ||
"offline": "<:offline:790132057523093515> ", | ||
"dnd": "<:donotdisturb:790132081136893962> ", | ||
"verify":"<:success:788438144818217000>", | ||
|
||
"voice": "<:speaker:790146754645196800> ", | ||
|
||
"pong": "<:online:790132184018059304>", | ||
|
||
"altdetector":"<:alt:826845773656096838>", | ||
"applications":"<:form:826846790208716831>", | ||
"config":"<:configs_emoji:788427972628447293>", | ||
"utility":"<:utils_emoji:788429328039280661>", | ||
"economy":"<:currency_emoji:788428132683350058>", | ||
"fun":"<:fun_emoji:788428109980368916> ", | ||
"images":"<:image_emoji:788427949509836840>", | ||
"information":"<:information_emoji:788428196528914472> ", | ||
"moderation":"<:moderation_emoji:788428121375768586>", | ||
"nsfw":"<:nsfw:826845810024644659> ", | ||
"reactionrole":"<:reaction_roles:826845827191406694>", | ||
"tickets":"<:ticket:826845944669536266>" | ||
|
||
} |
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,38 @@ | ||
["😄", "😆", "😊", "😃", "😏", "😍", "😘", "😚", "😳", "😌", "😆", "😁", "😉", "😜", "😝", "😀", "😗", "😙", "😛", "😴", "😟", "😦", "😧", "😮", "😬", "😕", "😯", "😑", "😒", "😅", "😓", "😥", "😩", "😔", "😞", "😖", "😨", "😰", "😣", "😢", "😭", "😂", "😲", "😱", "😫", "😠", "😡", "😤", "😪", "😋", "😷", "😎", "😵", "👿", "😈", "😐", "😶", "😇", "👽", "💛", "💙", "💜", "💚", "💔", "💓", "💗", "💕", "💞", "💘", "💖", "✨", "⭐","🌟" ,"💫", "💥", "💢", "❗", "❓", "❕", "❔", "💤", "💨", "💦", "🎶", "🎵", "🔥", "💩", "👍", "👎", "👌", "👊", "✊", "✌️", "👋", "✋", "👐", "☝️", "👇", "👈", "👉", "🙌", "🙏", "👆", "👏" | ||
, "💪", "🤘", "🖕", "🚶", "🏃", "👫", "👪", "👬", "👭", "💃", "👯", "🙆", "🙅", "💁", "🙋", "👰", "🙇", "💏", "💑", "💆", "💇", "💅", "👦", "👧", "👩", "👨", "👶", "👵", "👴" , "👲", "👳", "👷", "👮", "👼", "👸", "😺", "😸", "😻", "😽", "😼", "🙀", "😿", "😹", "😾", "👹", "👺", "🙈", "🙉", "🙊", "💂", "💀", "🐾", "👄", "💋", "💧", "👂", "👀", "👃", "👅", "💌", "👤", "👥", "💬", "💭" | ||
, "☀️", "☁️", "❄️", "⛄", "⚡", "🌀", "🌁", "🌊", "🐱", "🐶", "🐭", "🐹", "🐰", "🐺", "🐸", "🐯", "🐨", "🐻", "🐷", "🐽", "🐮", "🐗", "🐵", "🐒", "🐴", "🐎", "🐫", "🐑", "🐘", "🐼", "🐍" | ||
, "🐦", "🐤", "🐥", "🐣", "🐔", "🐧", "🐢", "🐛", "🐝", "🐜", "🐞", "🐌", "🐙", "🐠", "🐟", "🐳", "🐋", "🐬", "🐄" | ||
, "🐏", "🐀", "🐃", "🐅", "🐇", "🐉", "🐐", "🐓", "🐕", "🐖", "🐁", "🐂", "🐲", "🐡", "🐊", "🐪", "🐆", "🐈", "🐩" | ||
, "🐾", "💐", "🌸", "🌷", "🍀", "🌹", "🌻", "🌺", "🍁", "🍃", "🍂", "🌿", "🍄", "🌵", "🌴", "🌲", "🌳" | ||
, "🌰", "🌱", "🌼", "🌾", "🐚", "🌐", "🌞", "🌝", "🌚", "🌑", "🌒", "🌓", "🌔", "🌕", "🌖", "🌗", "🌘", "🌜", "🌛", "🌔", "🌍", "🌎", "🌏", "🌋", "🌌", "⛅" | ||
, "🎍", "💝", "🎎", "🎒", "🎓", "🎏", "🎆", "🎇", "🎐", "🎑", "🎃", "👻", "🎅", "🎄", "🎁", "🔔", "🔕" | ||
, "🎋", "🎉", "🎊", "🎈", "🔮", "💿", "📀", "💾", "📷", "📹", "🎥", "💻", "📺", "📱", "☎️", "☎️" | ||
, "📞", "📟", "📠", "💽", "📼", "🔉", "🔈", "🔇", "📢", "📣", "⌛", "⏳", "⏰", "⌚" | ||
, "📻", "📡", "➿", "🔍", "🔎", "🔓", "🔒", "🔏", "🔐", "🔑", "💡", "🔦", "🔆", "🔅" | ||
, "🔌", "🔋", "📲", "✉️", "📫", "📮", "🛀", "🛁", "🚿", "🚽", "🔧", "🔩", "🔨", "💺", "💰", "💴", "💵", "💷", "💶" | ||
, "💳", "💸", "📧", "📥", "📤", "✉️", "📨", "📯", "📪", "📬", "📭" | ||
, "📦", "🚪", "🚬", "💣", "🔫", "🔪", "💊", "💉", "📄", "📃", "📑", "📊", "📈", "📉", "📜", "📋" | ||
, "📆", "📅", "📇", "📁", "📂", "✂️", "📌", "📎", "✒️", "✏️", "📏", "📐", "📕", "📗", "📘", "📙", "📓", "📔", "📒", "📚", "🔖", "📛" | ||
, "🔬", "🔭", "📰", "🏈", "🏀", "⚽", "⚾", "🎾", "🎱", "🏉", "🎳", "⛳", "🚵", "🚴", "🏇", "🏂", "🏊", "🏄", "🎿", "♠️", "♥️" | ||
, "♣️", "♦️", "💎", "💍", "🏆", "🎼", "🎹", "🎻", "👾", "🎮", "🃏", "🎴", "🎲", "🎯", "🀄", "🎬", "📝", "📝", "📖", "🎨" | ||
, "🎤", "🎧", "🎺", "🎷", "🎸", "👞", "👡", "👠", "💄", "👢", "👕", "👕", "👔", "👚", "👗", "🎽", "👖", "👘", "👙", "🎀", "🎩", "👑", "👒", "👞" | ||
, "🌂", "💼", "👜", "👝", "👛", "👓", "🎣", "☕", "🍵", "🍶", "🍼", "🍺", "🍻", "🍸", "🍹", "🍷", "🍴", "🍕", "🍔", "🍟", "🍗", "🍖", "🍝", "🍛", "🍤", "🍱", "🍣", "🍥", "🍙", "🍘" | ||
, "🍚", "🍜", "🍲", "🍢", "🍡", "🥚", "🍞", "🍩", "🍮", "🍦", "🍨", "🍧", "🎂", "🍰", "🍪", "🍫", "🍬", "🍭", "🍯", "🍎", "🍏", "🍊", "🍋", "🍒", "🍇", "🍉", "🍓", "🍑", "🍈", "🍌", "🍐", "🍍", "🍠", "🍆", "🍅", "🌽" | ||
, "🏠", "🏡", "🏫", "🏢", "🏣", "🏥", "🏦", "🏪", "🏩", "🏨", "💒", "⛪", "🏬", "🏤", "🌇", "🌆", "🏯", "🏰" | ||
, "⛺", "🏭", "🗼", "🗾", "🗻", "🌄", "🌅", "🌠", "🗽", "🌉", "🎠", "🌈", "🎡", "⛲", "🎢", "🚢", "🚤", "⛵", "⛵", "🚣", "⚓", "🚀" | ||
, "✈️", "🚁", "🚂", "🚊", "🚞", "🚲", "🚡", "🚟", "🚠", "🚜", "🚙", "🚘", "🚗", "🚗", "🚕", "🚖", "🚛", "🚌", "🚍", "🚨", "🚓", "🚔", "🚒" | ||
, "🚑", "🚐", "🚚", "🚋", "🚉", "🚆", "🚅", "🚄", "🚈", "🚝", "🚃", "🚎", "🎫", "⛽", "🚦", "🚥", "⚠️", "🚧", "🔰", "🏧", "🎰", "🚏", "💈" | ||
, "♨️", "🏁", "🎌", "🏮", "🗿", "🎪", "🎭", "📍", "🚩", "🇯🇵", "🇰🇷", "🇨🇳", "🇺🇸", "🇫🇷", "🇪🇸", "🇮🇹", "🇷🇺", "🇬🇧", "🇩🇪" | ||
, "1️⃣", "2️⃣", "3️⃣", "4️⃣", "5️⃣", "6️⃣", "7️⃣", "8️⃣", "9️⃣", "🔟", "🔢", "0️⃣", "#️⃣", "🔣", "◀️", "⬇️" | ||
, "▶️", "⬅️", "🔠", "🔡", "🔤", "↙️", "↘️", "➡️", "⬆️", "↖️", "↗️", "⏬", "⏫", "🔽", "⤵️", "⤴️", "↩️", "↪️", "↔️" | ||
, "↕️", "🔼", "🔃", "🔄", "⏪", "⏩", "ℹ️", "🆗", "🔀", "🔁", "🔂", "🆕" | ||
, "🔝", "🆙", "🆒", "🆓", "🆖", "🎦", "🈁", "📶", "🈹", "🈴" | ||
, "🈺", "🈯", "🈷️", "🈶", "🈵", "🈚", "🈸", "🈳", "🈲", "🈂️", "🚻", "🚹", "🚺" | ||
, "🚼", "🚭", "🅿️", "♿", "🚇", "🛄", "🉑", "🚾", "🚰", "🚮", "㊙️", "㊗️" | ||
, "Ⓜ️", "🛂", "🛅", "🛃", "🉐", "🆑", "🆘", "🆔", "🚫", "🔞", "📵", "🚯", "🚱", "🚳", "🚷" | ||
, "🚸", "⛔", "✳️", "❇️", "✴️", "💟", "🆚", "📳", "📴", "💹", "💱", "♈", "♉", "♊", "♋", "♌", "♍" | ||
, "♎", "♏", "♐", "♑", "♒", "♓", "⛎", "🔯", "❎", "🅰️", "🅱️", "🆎", "🅾️", "💠" | ||
, "♻️", "🔚", "🔙", "🔛", "🔜", "🕐", "🕜", "🕙", "🕥", "🕚", "🕦", "🕛", "🕧" | ||
, "🕑", "🕝", "🕒", "🕞", "🕓", "🕟", "🕔", "🕠", "🕕", "🕡", "🕖", "🕢", "🕗", "🕣", "🕘", "🕤" | ||
, "💲", "©️", "®️", "™️", "❌", "❗", "‼️", "⁉️", "⭕", "✖️", "➕", "➖", "➗", "💮", "💯" | ||
, "✔️", "☑️", "🔘", "🔗", "➰", "〰️", "〽️", "🔱", "▪️", "▫️", "◾", "◽", "◼️", "◻️", "⬛", "⬜", "✅", "🔲", "🔳", "⚫", "⚪", "🔴", "🔵", "🔷", "🔶", "🔹", "🔸", "🔺", "🔻"] |
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,23 @@ | ||
[ | ||
"This isn't an NSFW channel!", | ||
"This doesn't seem to be an NSFW channel...", | ||
"I'm sorry! But this stuff belongs in NSFW channels!", | ||
"That belongs in NSFW channels!", | ||
"I can't post this here! Please direct me to an NSFW channel!", | ||
"I'm afraid that kind of stuff isn't allowed in here..", | ||
"This doesn't look like an NSFW channel!", | ||
"Please try again in an NSFW channel!", | ||
"u///u, I don't think I can post that in your average channel.", | ||
"Don't make me post that here...", | ||
"💢That doesn't belong here!", | ||
"W-What? I can't post that here!", | ||
"Would you direct me to an NSFW channel?", | ||
"Please try this command again in an NSFW channel!", | ||
"H-Hey.. Some people might not want to see that in here!", | ||
"LEWD! B-Baka! Not in here!", | ||
"B-Baka! I can't post that here!", | ||
"Nya! That was bad! Do that in an NSFW channel!", | ||
"How scandalous! Try that in an NSFW channel!", | ||
"Senpai...don't make me post that here...", | ||
"Nya that was bad senpai! This is an NSFW command!" | ||
] |
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,33 @@ | ||
{ | ||
"ADMINISTRATOR": "Administrator", | ||
"VIEW_AUDIT_LOG": "View Audit Log", | ||
"VIEW_GUILD_INSIGHTS": "View Server Insights", | ||
"MANAGE_GUILD": "Manage Server", | ||
"MANAGE_ROLES": "Manage Roles", | ||
"MANAGE_CHANNELS": "Manage Channels", | ||
"KICK_MEMBERS": "Kick Members", | ||
"BAN_MEMBERS": "Ban Members", | ||
"CREATE_INSTANT_INVITE": "Create Invite", | ||
"CHANGE_NICKNAME": "Change Nickname", | ||
"MANAGE_NICKNAMES": "Manage Nicknames", | ||
"MANAGE_EMOJIS": "Manage Emojis", | ||
"MANAGE_WEBHOOKS": "Manage Webhooks", | ||
"VIEW_CHANNEL": "Read Text Channels & See Voice Channels", | ||
"SEND_MESSAGES": "Send Messages", | ||
"SEND_TTS_MESSAGES": "Send TTS Messages", | ||
"MANAGE_MESSAGES": "Manage Messages", | ||
"EMBED_LINKS": "Embed Links", | ||
"ATTACH_FILES": "Attach Files", | ||
"READ_MESSAGE_HISTORY": "Read Message History", | ||
"MENTION_EVERYONE": "Mention @everyone, @here, and All Roles", | ||
"USE_EXTERNAL_EMOJIS": "Use External Emojis", | ||
"ADD_REACTIONS": "Add Reactions", | ||
"CONNECT": "Connect", | ||
"SPEAK": "Speak", | ||
"STREAM": "Video", | ||
"MUTE_MEMBERS": "Mute Members", | ||
"DEAFEN_MEMBERS": "Deafen Members", | ||
"MOVE_MEMBERS": "Move Members", | ||
"USE_VAD": "Use Voice Activity", | ||
"PRIORITY_SPEAKER": "Priority Speaker" | ||
} |
Oops, something went wrong.