Compare commits

..
11 Commits
Author SHA1 Message Date
ItzEmerald ab6abd453b Delete node_modules directory 2021-03-30 20:20:33 +01:00
ItzEmerald 77921aca75 Update ready.js 2021-03-30 20:18:37 +01:00
ItzEmerald a8f91c4814 Update messageReactionAdd.js 2021-03-30 20:12:29 +01:00
ItzEmerald 7780fa792c Updated 2021-03-27 16:58:27 +00:00
ItzEmerald 41e4c376ec Merge branch 'master' of https://github.com/1tzemerald/SupportBot 2021-03-27 16:22:37 +00:00
ItzEmerald 09aad61cfe SB-6.3-BETA 2
Added Moderation
Added Node Modules
2021-03-27 16:22:19 +00:00
ItzEmerald 31ac81428f Update ready.js 2021-03-24 20:56:57 +00:00
ItzEmerald 60daab82d2 Merge branch 'master' of https://github.com/1tzemerald/SupportBot 2021-03-24 16:26:21 +00:00
ItzEmerald e7a0544004 Added Image to ReactionPanel 2021-03-24 16:25:16 +00:00
ItzEmerald ff0364bba8 Update supportbot-config_FR.yml 2021-03-17 16:04:41 +00:00
ItzEmerald a3b64be351 Update supportbot-config_ES.yml 2021-03-17 16:03:52 +00:00
16 changed files with 472 additions and 36 deletions

No files matched your search

Vendored
BIN
View File
Binary file not shown.
+110
View File
@@ -0,0 +1,110 @@
// SupportBot, Created by Emerald Services
// Say Command
const Discord = require("discord.js");
const fs = require("fs");
const yaml = require('js-yaml');
const { execute } = require("./help");
const supportbot = yaml.load(fs.readFileSync('./supportbot-config.yml', 'utf8'));
module.exports = {
name: supportbot.BanUser,
description: supportbot.BanDesc,
execute(message, args, member) {
if (supportbot.DeleteMessages == "true") message.delete();
let SupportStaff = message.guild.roles.cache.find(adminRole => adminRole.name === supportbot.Admin);
console.log(`\u001b[32m`, `[${supportbot.Bot_Name}]:`, `\u001b[32m`, `${message.author.tag} has executed ${supportbot.Prefix}${supportbot.BanUser}!`);
const NoPerms = new Discord.MessageEmbed()
.setTitle("Invalid Permissions!")
.setDescription(`${supportbot.IncorrectPerms}\n\nRole Required: \`${SupportStaff.name}\``)
.setColor(supportbot.WarningColour)
if (!message.member.roles.cache.has(SupportStaff.id))
return message.channel.send({ embed: NoPerms });
let locateChannel = message.guild.channels.cache.find(ModLogChannel => ModLogChannel.name === supportbot.ModLogChannel);
const errornochannel = new Discord.MessageEmbed()
.setTitle("Invalid Channel")
.setDescription(`${supportbot.InvalidChannel}\n\nChannel Required: \`${supportbot.ModLogChannel}\``)
.setColor(supportbot.ErrorColour);
if(!locateChannel) return message.channel.send({ embed: errornochannel });
const user = message.mentions.members.first() || message.guild.members.cache.get(args[0]);
const embed1 = new Discord.MessageEmbed()
.setDescription("> :x: Please provide a reason to ban.\n\n`Try Again!`")
.setColor(supportbot.ErrorColour)
if (!args[0]) return message.channel.send({
embed: embed1
});
const embed2 = new Discord.MessageEmbed()
.setDescription("> :detective: **Hmm!** Can\'t seem tp find this user.\n\n`Are they in the server?`")
.setColor(supportbot.EmbedColour)
if (!user) return message.channel.send({
embed: embed2
})
const embed3 = new Discord.MessageEmbed()
.setDescription("> :x: **Err No!** Cannot punish this user!\n\n`Reason: Their permissions and or roles are greater than mine.`")
.setColor(supportbot.EmbedColour)
if(!user.bannable) return message.channel.send({
embed: embed3
});
const embed4 = new Discord.MessageEmbed()
.setDescription("> :joy: **OML!** Did you really just try to ban yourself!")
.setColor(supportbot.EmbedColour)
if(user.id === message.author.id) return message.channel.send({
embed: embed4
});
let reason = args.slice(1).join(" ");
if(!reason) reason = 'No Reason Provided.';
const embed5 = new Discord.MessageEmbed()
.setDescription("> :thinking: **Hmm** Something seems to have gone wrong.\n\n`Check your system for errors!`")
.setColor(supportbot.EmbedColour)
user.ban({ days: supportbot.DaysBannedFor, reason: `${reason}` }).catch(err => {
message.channel.send({ embed: embed5 })
console.log(err)
})
const successEmbed = new Discord.MessageEmbed()
.setDescription(`> :white_check_mark: **OOF!** ${user} has been banned!`)
.setColor(supportbot.SuccessColour)
message.channel.send({
embed: successEmbed
})
const logEmbed = new Discord.MessageEmbed()
.setTitle(supportbot.BanTitle)
.setThumbnail(supportbot.ModThumbnail)
.addField('Banned User:', user)
.addField('Staff Member', message.author)
.addField('Reason:', reason)
.setFooter(supportbot.EmbedFooter)
.setColor(supportbot.BanLogColour)
.setTimestamp()
locateChannel.send({ embed: logEmbed })
}
};
+15 -7
View File
@@ -16,6 +16,7 @@ module.exports = {
console.log(`\u001b[32m`, `[${supportbot.Bot_Name}]:`, `\u001b[32m`, `${message.author.tag} has executed ${supportbot.Prefix}${supportbot.HelpCommand}!`); console.log(`\u001b[32m`, `[${supportbot.Bot_Name}]:`, `\u001b[32m`, `${message.author.tag} has executed ${supportbot.Prefix}${supportbot.HelpCommand}!`);
if (supportbot.helpmenu_withkey = "true") {
let generalCommands = ""; let generalCommands = "";
generalCommands += `**${supportbot.Prefix}${supportbot.HelpCommand}** ${supportbot.HelpDesc}\n`; generalCommands += `**${supportbot.Prefix}${supportbot.HelpCommand}** ${supportbot.HelpDesc}\n`;
generalCommands += `**${supportbot.Prefix}${supportbot.LinksCommand}** ${supportbot.LinkDesc}\n`; generalCommands += `**${supportbot.Prefix}${supportbot.LinksCommand}** ${supportbot.LinkDesc}\n`;
@@ -30,26 +31,33 @@ module.exports = {
staffCommands += `**${supportbot.Prefix}${supportbot.AddUser} <user#0000>** ${supportbot.AddUserDesc}\n` staffCommands += `**${supportbot.Prefix}${supportbot.AddUser} <user#0000>** ${supportbot.AddUserDesc}\n`
staffCommands += `**${supportbot.Prefix}${supportbot.RemoveUser} <user#0000>** ${supportbot.RemoveUserDesc}\n` staffCommands += `**${supportbot.Prefix}${supportbot.RemoveUser} <user#0000>** ${supportbot.RemoveUserDesc}\n`
staffCommands += `**${supportbot.Prefix}${supportbot.BotSay}** ${supportbot.BotSayDesc}\n` staffCommands += `**${supportbot.Prefix}${supportbot.BotSay}** ${supportbot.BotSayDesc}\n`
staffCommands += `**${supportbot.Prefix}${supportbot.AnnounceCommand}** ${supportbot.AnnounceDesc}\n` staffCommands += `**${supportbot.Prefix}${supportbot.PurgeMessage}** ${supportbot.PurgeDesc}\n`
staffCommands += `**${supportbot.Prefix}${supportbot.AnnounceCommand}** ${supportbot.AnnounceDesc} \`Admin Only\`\n`
staffCommands += `**${supportbot.Prefix}${supportbot.BanUser}** ${supportbot.BanDesc} \`Admin Only\` \n`
staffCommands += `**${supportbot.Prefix}${supportbot.KickUser}** ${supportbot.KickDesc} \`Admin Only\` \n`
const HelpCommandEmbed = new Discord.MessageEmbed() const HelpEmbed1 = new Discord.MessageEmbed()
.setTitle(supportbot.Bot_Name) .setTitle(supportbot.Bot_Name)
.setThumbnail(message.author.displayAvatarURL()) .setThumbnail(message.author.displayAvatarURL())
.addFields( .addFields(
{ name: '🖥️ General Commands', value: `${generalCommands}\n`, inline: false }, { name: '🖥️ General Commands\n', value: `${generalCommands}\n`, inline: false },
{ name: '🎫 Support Commands', value: `${supportCommands}\n`, inline: false }, { name: '🎫 Support Commands\n', value: `${supportCommands}\n`, inline: false },
) )
.setColor(supportbot.EmbedColour) .setColor(supportbot.EmbedColour)
.setFooter(supportbot.EmbedFooter, message.author.displayAvatarURL()); .setFooter(supportbot.EmbedFooter, message.author.displayAvatarURL());
if (message.member.roles.cache.some(role => role.name === supportbot.Staff || supportbot.Admin)) { if (message.member.roles.cache.some(role => role.name === supportbot.Staff || supportbot.Admin)) {
HelpCommandEmbed.addFields( HelpEmbed1.addFields(
{ name: '🔐 Staff Commands', value: `${staffCommands}\n`, inline: false }, { name: '🔐 Staff Commands\n', value: `${staffCommands}\n`, inline: false },
) )
} }
message.channel.send({ embed: HelpCommandEmbed }); message.channel.send({
embed: HelpEmbed1
});
}
} }
}; };
+111
View File
@@ -0,0 +1,111 @@
// SupportBot, Created by Emerald Services
// Say Command
const Discord = require("discord.js");
const fs = require("fs");
const yaml = require('js-yaml');
const { execute } = require("./help");
const supportbot = yaml.load(fs.readFileSync('./supportbot-config.yml', 'utf8'));
module.exports = {
name: supportbot.KickUser,
description: supportbot.KickDesc,
execute(message, args, member) {
if (supportbot.DeleteMessages == "true") message.delete();
let SupportStaff = message.guild.roles.cache.find(adminRole => adminRole.name === supportbot.Admin);
console.log(`\u001b[32m`, `[${supportbot.Bot_Name}]:`, `\u001b[32m`, `${message.author.tag} has executed ${supportbot.Prefix}${supportbot.BanUser}!`);
const NoPerms = new Discord.MessageEmbed()
.setTitle("Invalid Permissions!")
.setDescription(`${supportbot.IncorrectPerms}\n\nRole Required: \`${SupportStaff.name}\``)
.setColor(supportbot.WarningColour)
if (!message.member.roles.cache.has(SupportStaff.id))
return message.channel.send({ embed: NoPerms });
let locateChannel = message.guild.channels.cache.find(ModLogChannel => ModLogChannel.name === supportbot.ModLogChannel);
const errornochannel = new Discord.MessageEmbed()
.setTitle("Invalid Channel")
.setDescription(`${supportbot.InvalidChannel}\n\nChannel Required: \`${supportbot.ModLogChannel}\``)
.setColor(supportbot.ErrorColour);
if(!locateChannel) return message.channel.send({ embed: errornochannel });
const user = message.mentions.members.first() || message.guild.members.cache.get(args[0]);
const embed1 = new Discord.MessageEmbed()
.setDescription("> :x: Please provide a reason to kick.\n\n`Try Again!`")
.setColor(supportbot.ErrorColour)
if (!args[0]) return message.channel.send({
embed: embed1
});
const embed2 = new Discord.MessageEmbed()
.setDescription("> :detective: **Hmm!** Can\'t seem tp find this user.\n\n`Are they in the server?`")
.setColor(supportbot.EmbedColour)
if (!user) return message.channel.send({
embed: embed2
})
const embed3 = new Discord.MessageEmbed()
.setDescription("> :x: **Err No!** Cannot punish this user!\n\n`Reason: Their permissions and or roles are greater than mine.`")
.setColor(supportbot.EmbedColour)
if(!user.kickable) return message.channel.send({
embed: embed3
});
const embed4 = new Discord.MessageEmbed()
.setDescription("> :joy: **OML!** Did you really just try to kick yourself!")
.setColor(supportbot.EmbedColour)
if(user.id === message.author.id) return message.channel.send({
embed: embed4
});
let reason = args.slice(1).join(" ");
if(!reason) reason = 'No Reason Provided.';
const embed5 = new Discord.MessageEmbed()
.setDescription("> :thinking: **Hmm** Something seems to have gone wrong.\n\n`Check your system for errors!`")
.setColor(supportbot.EmbedColour)
user.kick({ reason: `${reason}` }).catch(err => {
message.channel.send({ embed: embed5 })
console.log(err)
})
const successEmbed = new Discord.MessageEmbed()
.setDescription(`> :white_check_mark: **OOF!** ${user} has been kicked!`)
.setColor(supportbot.SuccessColour)
message.channel.send({
embed: successEmbed
})
const logEmbed = new Discord.MessageEmbed()
.setTitle(supportbot.KickTitle)
.setThumbnail(supportbot.ModThumbnail)
.addField('Kicked User:', user)
.addField('Staff Member', message.author)
.addField('Reason:', reason)
.setFooter(supportbot.EmbedFooter)
.setColor(supportbot.KickLogColour)
.setTimestamp()
locateChannel.send({ embed: logEmbed })
}
};
+82
View File
@@ -0,0 +1,82 @@
// SupportBot, Created by Emerald Services
// Say Command
const Discord = require("discord.js");
const fs = require("fs");
const yaml = require('js-yaml');
const { execute } = require("./help");
const supportbot = yaml.load(fs.readFileSync('./supportbot-config.yml', 'utf8'));
module.exports = {
name: supportbot.PurgeMessage,
description: supportbot.PurgeDesc,
execute(message, args, member) {
if (supportbot.DeleteMessages == "true") message.delete();
let SupportStaff = message.guild.roles.cache.find(adminRole => adminRole.name === supportbot.Staff);
console.log(`\u001b[32m`, `[${supportbot.Bot_Name}]:`, `\u001b[32m`, `${message.author.tag} has executed ${supportbot.Prefix}${supportbot.PurgeMessage}!`);
const NoPerms = new Discord.MessageEmbed()
.setTitle("Invalid Permissions!")
.setDescription(`${supportbot.IncorrectPerms}\n\nRole Required: \`${SupportStaff.name}\``)
.setColor(supportbot.WarningColour)
if (!message.member.roles.cache.has(SupportStaff.id))
return message.channel.send({ embed: NoPerms });
let locateChannel = message.guild.channels.cache.find(ModLogChannel => ModLogChannel.name === supportbot.ModLogChannel);
const errornochannel = new Discord.MessageEmbed()
.setTitle("Invalid Channel")
.setDescription(`${supportbot.InvalidChannel}\n\nChannel Required: \`${supportbot.ModLogChannel}\``)
.setColor(supportbot.ErrorColour);
if(!locateChannel) return message.channel.send({ embed: errornochannel });
const embed1 = new Discord.MessageEmbed()
.setDescription(`> :thinking: **Hmm!** Please enter a valid number of message to purge!\n\n\`${supportbot.Prefix}${supportbot.PurgeMessage} <message count>\` `)
.setColor(supportbot.WarningColour)
if (!args[0]) return message.channel.send({
embed: embed1
});
const messagePrune = parseInt(args[0])
const embed2 = new Discord.MessageEmbed()
.setDescription("> :person_facepalming: **Grr!** Can you count? That ain't a number :joy:")
.setColor(supportbot.ErrorColour)
if (isNaN(messagePrune)) return message.reply({
embed: embed2
})
message.channel.bulkDelete(messagePrune).then(() => {
const embed3 = new Discord.MessageEmbed()
.setDescription(`> :recycle: \`${args[0]} messages\` **have been purged!** `)
.setColor(supportbot.ErrorColour)
message.channel.send({
embed: embed3
})
})
const logEmbed = new Discord.MessageEmbed()
.setTitle(supportbot.PruneLogTitle)
.setThumbnail(supportbot.PruneThumbnail)
.addField('Messages Purged', `\`${args[0]} messages\``)
.addField('Staff Member', message.author)
.setFooter(supportbot.EmbedFooter)
.setColor(supportbot.PruneColour)
.setTimestamp()
locateChannel.send({ embed: logEmbed })
}
};
+1 -1
View File
@@ -24,7 +24,7 @@ module.exports = async (bot, member) => {
if (supportbot.SystemMessage_Type === "embed") { if (supportbot.SystemMessage_Type === "embed") {
const GuildAddMember = new Discord.MessageEmbed() const GuildAddMember = new Discord.MessageEmbed()
.setTitle(supportbot.Welcome_Title) .setTitle(supportbot.Welcome_Title)
.setDescription(supportbot.WelcomeMessage.replace(/%member%/g, member.user.username).replace(/%guildname%/g, member.guild.name)) .setDescription(supportbot.WelcomeMessage.replace(/%member%/g, member.user.id).replace(/%guildname%/g, member.guild.name))
.setColor(supportbot.EmbedColour) .setColor(supportbot.EmbedColour)
if (supportbot.SystemMessage_Icon === "BOT") { if (supportbot.SystemMessage_Icon === "BOT") {
+1 -1
View File
@@ -17,7 +17,7 @@ module.exports = async (client, reaction, user) => {
channel: reaction.message.channel channel: reaction.message.channel
} }
if (supportbot.ReactionTickets === "true") { if (supportbot.ReactionTickets === true) {
if (reaction.message.id === tickets.ReactionMessage_ID) { if (reaction.message.id === tickets.ReactionMessage_ID) {
if (reaction.emoji.name == supportbot.ReactionEmoji || reaction.emoji.id == supportbot.ReactionEmoji) { if (reaction.emoji.name == supportbot.ReactionEmoji || reaction.emoji.id == supportbot.ReactionEmoji) {
await reaction.users.remove(user.id) await reaction.users.remove(user.id)
+7 -3
View File
@@ -20,7 +20,7 @@ module.exports = async (bot) => {
console.log(`\u001b[37m`, `${supportbot.Bot_Name} has successfully connected to discord`) console.log(`\u001b[37m`, `${supportbot.Bot_Name} has successfully connected to discord`)
console.log(`\u001b[32m`, `―――――――――――――――――― SupportBot ――――――――――――――――――`) console.log(`\u001b[32m`, `―――――――――――――――――― SupportBot ――――――――――――――――――`)
if (supportbot.ReactionTickets === "true") { if (supportbot.ReactionTickets === true) {
let chan1 = bot.channels.cache.find(channel => channel.name === supportbot.ReactionChannel) let chan1 = bot.channels.cache.find(channel => channel.name === supportbot.ReactionChannel)
if (!chan1) { if (!chan1) {
@@ -34,14 +34,18 @@ module.exports = async (bot) => {
.setColor(supportbot.SuccessColour) .setColor(supportbot.SuccessColour)
.setFooter(supportbot.EmbedFooter); .setFooter(supportbot.EmbedFooter);
if (supportbot.ReactionPanel_Description = true) { if (supportbot.ReactionPanel_Description === true) {
embed.setDescription(supportbot.ReactionDescription) embed.setDescription(supportbot.ReactionDescription)
} }
if (supportbot.ReactionPanel_Thumbnail = true) { if (supportbot.ReactionPanel_Thumbnail === true) {
embed.setThumbnail(supportbot.ReactionThumbnail) embed.setThumbnail(supportbot.ReactionThumbnail)
} }
if (supportbot.ReactionPanel_Image === true) {
embed.setImage(supportbot.ReactionImage)
}
bot.channels.cache.find(channel => channel.name === supportbot.ReactionChannel).send({ bot.channels.cache.find(channel => channel.name === supportbot.ReactionChannel).send({
embed: embed embed: embed
}).then(r => { }).then(r => {
+34 -4
View File
@@ -45,6 +45,12 @@ LockdownRole: "@everyone"
Staff: "Staff" Staff: "Staff"
Admin: "Admin" Admin: "Admin"
# Help Configuration
HelpMenu_withKey: "false"
# If set to true, emojis will be used as a key to define the access level of commands.
# Ticket Configuration # Ticket Configuration
TicketChannel: "ticket" TicketChannel: "ticket"
@@ -58,18 +64,19 @@ AllowTicketMentions: "true"
# Set to "true" to allow the ticket to mention the author and the support team. # Set to "true" to allow the ticket to mention the author and the support team.
# Set to "false" to dis-allow mentions within tickets. # Set to "false" to dis-allow mentions within tickets.
# Ticket Panel (Ticket Reaction Create) # Ticket Panel (Ticket Reaction Create)
ReactionTickets: "true" ReactionTickets: true
ReactionMessage: "React with %reaction_emoji% to create a Support Ticket!" ReactionMessage: "React with %reaction_emoji% to create a Support Ticket!"
ReactionPanel_Description: "true" ReactionPanel_Description: true
ReactionDescription: "Create a support ticket to contact a member of staff." ReactionDescription: "Create a support ticket to contact a member of staff."
ReactionChannel: "create-ticket" ReactionChannel: "create-ticket"
ReactionEmoji: "📩" ReactionEmoji: "📩"
# Custom Emojis: <:test:EMOJI_ID> # Custom Emojis: <:test:EMOJI_ID>
ReactionPanel_Thumbnail: "true" ReactionPanel_Thumbnail: true
ReactionThumbnail: "https://hotemoji.com/images/dl/5/ticket-emoji-by-twitter.png" ReactionThumbnail: "https://hotemoji.com/images/dl/5/ticket-emoji-by-twitter.png"
ReactionPanel_Image: true
ReactionImage: "https://wallpapercave.com/wp/wp4462546.jpg"
Ticket_Thumbnail: "https://images.emojiterra.com/google/android-pie/512px/1f39f.png" Ticket_Thumbnail: "https://images.emojiterra.com/google/android-pie/512px/1f39f.png"
Ticket_Title: "Server Support | %ticketusername%" Ticket_Title: "Server Support | %ticketusername%"
@@ -154,6 +161,23 @@ AnnouncementIcon: "https://i.imgur.com/HbkZyB7.png"
AnnouncementStarter: "What would you like to announce?" AnnouncementStarter: "What would you like to announce?"
# Moderation System Configuration
BanTitle: "User Banned!"
DaysBannedFor: 7
BanLogColour: "#D911B4"
KickTitle: "User Kicked!"
KickLogColour: "#D9B111"
ModThumbnail: "https://i.imgur.com/l6P3DF6.png"
ModLogChannel: "mod-logs"
PruneLogTitle: "Bulk Delete"
PruneThumbnail: "https://i.imgur.com/OAgW2vR.png"
PruneColour: "#1BA30C"
# General Command Configuration # General Command Configuration
HelpCommand: "help" HelpCommand: "help"
@@ -172,10 +196,13 @@ RenameTicket: "rename"
# Staff Command Configuration # Staff Command Configuration
BotSay: "say" BotSay: "say"
PurgeMessage: "purge"
# Admin Command Configuration # Admin Command Configuration
AnnounceCommand: "announce" AnnounceCommand: "announce"
BanUser: "ban"
KickUser: "kick"
# Commmand Descriptions # Commmand Descriptions
@@ -189,6 +216,9 @@ RemoveUserDesc: "Remove a user from a support ticket"
AddUserDesc: "Add a user to a support ticket" AddUserDesc: "Add a user to a support ticket"
SuggestionDesc: "Create a server suggestion" SuggestionDesc: "Create a server suggestion"
BotSayDesc: "Say something with the bot" BotSayDesc: "Say something with the bot"
BanDesc: "Ban a member from this server."
KickDesc: "Kick a member from this server."
PurgeDesc: "Purge messages from the chat."
# Error / Warining Messages # Error / Warining Messages
+26
View File
@@ -63,10 +63,14 @@ AllowTicketMentions: "true"
ReactionTickets: "true" ReactionTickets: "true"
ReactionMessage: "React with %reaction_emoji% para crear un Ticket de Soporte!" ReactionMessage: "React with %reaction_emoji% para crear un Ticket de Soporte!"
ReactionChannel: "crear-ticket" ReactionChannel: "crear-ticket"
ReactionPanel_Description: "true"
ReactionDescription: "Cree un ticket de soporte para contactar a un miembro del personal." ReactionDescription: "Cree un ticket de soporte para contactar a un miembro del personal."
ReactionEmoji: "📩" ReactionEmoji: "📩"
# Custom Emojis: <:test:EMOJI_ID> # Custom Emojis: <:test:EMOJI_ID>
ReactionPanel_Thumbnail: true
ReactionThumbnail: "https://hotemoji.com/images/dl/5/ticket-emoji-by-twitter.png" ReactionThumbnail: "https://hotemoji.com/images/dl/5/ticket-emoji-by-twitter.png"
ReactionPanel_Image: true
ReactionImage: "https://wallpapercave.com/wp/wp4462546.jpg"
Ticket_Thumbnail: "https://images.emojiterra.com/google/android-pie/512px/1f39f.png" Ticket_Thumbnail: "https://images.emojiterra.com/google/android-pie/512px/1f39f.png"
Ticket_Title: "Server Support | %ticketusername%" Ticket_Title: "Server Support | %ticketusername%"
@@ -151,6 +155,22 @@ AnnouncementIcon: "https://i.imgur.com/HbkZyB7.png"
AnnouncementStarter: "¿Qué te gustaría anunciar?" AnnouncementStarter: "¿Qué te gustaría anunciar?"
# Moderation System Configuration
BanTitle: "User Banned!"
DaysBannedFor: 7
BanLogColour: "#D911B4"
KickTitle: "User Kicked!"
KickLogColour: "#D9B111"
ModThumbnail: "https://i.imgur.com/l6P3DF6.png"
ModLogChannel: "mod-logs"
PruneLogTitle: "Bulk Delete"
PruneThumbnail: "https://i.imgur.com/OAgW2vR.png"
PruneColour: "#1BA30C"
# General Command Configuration # General Command Configuration
HelpCommand: "ayuda" HelpCommand: "ayuda"
@@ -169,10 +189,13 @@ RenameTicket: "renombrar"
# Staff Command Configuration # Staff Command Configuration
BotSay: "decir" BotSay: "decir"
PurgeMessage: "purge"
# Admin Command Configuration # Admin Command Configuration
AnnounceCommand: "anunciar" AnnounceCommand: "anunciar"
BanUser: "ban"
KickUser: "kick"
# Commmand Descriptions # Commmand Descriptions
@@ -186,6 +209,9 @@ RemoveUserDesc: "Eliminar un usuario de un ticket de soporte"
AddUserDesc: "Add un usuario a un ticket de soporte" AddUserDesc: "Add un usuario a un ticket de soporte"
SuggestionDesc: "Crear una sugerencia de servidor" SuggestionDesc: "Crear una sugerencia de servidor"
BotSayDesc: "Di algo con el bot" BotSayDesc: "Di algo con el bot"
BanDesc: "Prohibir a un/una miembro de este servidor."
KickDesc: "Patea a un/una miembro de este servidor."
PurgeDesc: "Purga los mensajes del chat."
# Error / Warining Messages # Error / Warining Messages
+27
View File
@@ -64,10 +64,14 @@ AllowTicketMentions: "true"
ReactionTickets: "true" ReactionTickets: "true"
ReactionMessage: "Réagissez avec %reaction_emoji% pour créer un ticket de support !" ReactionMessage: "Réagissez avec %reaction_emoji% pour créer un ticket de support !"
ReactionChannel: "creer-billet" ReactionChannel: "creer-billet"
ReactionPanel_Description: "true"
ReactionDescription: "Créez un ticket de support pour contacter un membre du personnel." ReactionDescription: "Créez un ticket de support pour contacter un membre du personnel."
ReactionEmoji: "📩" ReactionEmoji: "📩"
# Custom Emojis: <:test:EMOJI_ID> # Custom Emojis: <:test:EMOJI_ID>
ReactionPanel_Thumbnail: true
ReactionThumbnail: "https://hotemoji.com/images/dl/5/ticket-emoji-by-twitter.png" ReactionThumbnail: "https://hotemoji.com/images/dl/5/ticket-emoji-by-twitter.png"
ReactionPanel_Image: true
ReactionImage: "https://wallpapercave.com/wp/wp4462546.jpg"
Ticket_Thumbnail: "https://images.emojiterra.com/google/android-pie/512px/1f39f.png" Ticket_Thumbnail: "https://images.emojiterra.com/google/android-pie/512px/1f39f.png"
Ticket_Title: "Prise en charge du serveur | %ticketusername%" Ticket_Title: "Prise en charge du serveur | %ticketusername%"
@@ -152,6 +156,23 @@ AnnouncementIcon: "https://i.imgur.com/HbkZyB7.png"
AnnouncementStarter: "Qu’aimeriez-vous annoncer?" AnnouncementStarter: "Qu’aimeriez-vous annoncer?"
# Moderation System Configuration
BanTitle: "User Banned!"
DaysBannedFor: 7
BanLogColour: "#D911B4"
KickTitle: "User Kicked!"
KickLogColour: "#D9B111"
ModThumbnail: "https://i.imgur.com/l6P3DF6.png"
ModLogChannel: "mod-logs"
PruneLogTitle: "Bulk Delete"
PruneThumbnail: "https://i.imgur.com/OAgW2vR.png"
PruneColour: "#1BA30C"
# General Command Configuration # General Command Configuration
HelpCommand: "aide" HelpCommand: "aide"
@@ -170,10 +191,13 @@ RenameTicket: "renommer"
# Staff Command Configuration # Staff Command Configuration
BotSay: "dire" BotSay: "dire"
PurgeMessage: "purge"
# Admin Command Configuration # Admin Command Configuration
AnnounceCommand: "annoncer" AnnounceCommand: "annoncer"
BanUser: "ban"
KickUser: "kick"
# Commmand Descriptions # Commmand Descriptions
@@ -187,6 +211,9 @@ RemoveUserDesc: "Supprimer un utilisateur d’un ticket de support"
AddUserDesc: "Ajouter un utilisateur à un ticket de support" AddUserDesc: "Ajouter un utilisateur à un ticket de support"
SuggestionDesc: "Créer une suggestion de serveur" SuggestionDesc: "Créer une suggestion de serveur"
BotSayDesc: "Dites quelque chose avec le bot" BotSayDesc: "Dites quelque chose avec le bot"
BanDesc: "Bannir un membre de ce serveur."
KickDesc: "Kick un membre de ce serveur."
PurgeDesc: "Purgez les messages du chat."
# Error / Warining Messages # Error / Warining Messages
+26 -1
View File
@@ -67,8 +67,10 @@ ReactionDescription: "Erstellen Sie ein Support-Ticket, um einen Mitarbeiter zu
ReactionChannel: "create-ticket" ReactionChannel: "create-ticket"
ReactionEmoji: "📩" ReactionEmoji: "📩"
# Custom Emojis: <:test:EMOJI_ID> # Custom Emojis: <:test:EMOJI_ID>
ReactionPanel_Thumbnail: "true" ReactionPanel_Thumbnail: true
ReactionThumbnail: "https://hotemoji.com/images/dl/5/ticket-emoji-by-twitter.png" ReactionThumbnail: "https://hotemoji.com/images/dl/5/ticket-emoji-by-twitter.png"
ReactionPanel_Image: true
ReactionImage: "https://wallpapercave.com/wp/wp4462546.jpg"
Ticket_Thumbnail: "https://images.emojiterra.com/google/android-pie/512px/1f39f.png" Ticket_Thumbnail: "https://images.emojiterra.com/google/android-pie/512px/1f39f.png"
Ticket_Title: "Server Support | %ticketusername%" Ticket_Title: "Server Support | %ticketusername%"
@@ -153,6 +155,22 @@ AnnouncementIcon: "https://i.imgur.com/HbkZyB7.png"
AnnouncementStarter: "Was möchtest du ankündigen?" AnnouncementStarter: "Was möchtest du ankündigen?"
# Moderation System Configuration
BanTitle: "User Banned!"
DaysBannedFor: 7
BanLogColour: "#D911B4"
KickTitle: "User Kicked!"
KickLogColour: "#D9B111"
ModThumbnail: "https://i.imgur.com/l6P3DF6.png"
ModLogChannel: "mod-logs"
PruneLogTitle: "Bulk Delete"
PruneThumbnail: "https://i.imgur.com/OAgW2vR.png"
PruneColour: "#1BA30C"
# General Command Konfiguration # General Command Konfiguration
HelpCommand: "help" HelpCommand: "help"
@@ -169,11 +187,15 @@ RemoveUser: "remove"
RenameTicket: "rename" RenameTicket: "rename"
# Staff Command Konfiguration # Staff Command Konfiguration
BotSay: "say" BotSay: "say"
PurgeMessage: "purge"
# Admin Command Konfiguration # Admin Command Konfiguration
AnnounceCommand: "announce" AnnounceCommand: "announce"
BanUser: "ban"
KickUser: "kick"
# Commmand Beschreibungen (help) # Commmand Beschreibungen (help)
@@ -187,6 +209,9 @@ RemoveUserDesc: "Entferne einen Nutzer aus einem Ticket"
AddUserDesc: "Füge einen Nutzer einem Ticket hinzu" AddUserDesc: "Füge einen Nutzer einem Ticket hinzu"
SuggestionDesc: "Erstelle einen Server Vorschlag" SuggestionDesc: "Erstelle einen Server Vorschlag"
BotSayDesc: "Sage etwas mit dem Bot" BotSayDesc: "Sage etwas mit dem Bot"
BanDesc: "Verbannen Sie ein Mitglied von diesem Server."
KickDesc: "Treten Sie ein Mitglied von diesem Server."
PurgeDesc: "Nachrichten aus dem Chat löschen."
# Error / Warning Nachrichten # Error / Warning Nachrichten
+1 -2
View File
@@ -5,8 +5,7 @@
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"discord.js": "^12.5.1", "discord.js": "^12.5.1",
"javascript-obfuscator": "^2.9.4", "js-yaml": "^4.0.0"
"js-yaml": "^3.14.0"
}, },
"devDependencies": { "devDependencies": {
"node-fetch": ">=2.6.1" "node-fetch": ">=2.6.1"
+1 -4
View File
@@ -1,4 +1 @@
{ {}
"ticket": "ticket-0012",
"id":419821884431925260
}
+1 -8
View File
@@ -1,8 +1 @@
{ {}
"716992597377286145": {
"id": 65
},
"805909541979029524": {
"id": 13
}
}
+29 -5
View File
@@ -43,7 +43,7 @@ AutoRole_Role: "Member"
LockdownRole: "@everyone" LockdownRole: "@everyone"
Staff: "Staff" Staff: "Staff"
Admin: "Admin" Admin: "Administration"
# Ticket Configuration # Ticket Configuration
@@ -58,18 +58,19 @@ AllowTicketMentions: "true"
# Set to "true" to allow the ticket to mention the author and the support team. # Set to "true" to allow the ticket to mention the author and the support team.
# Set to "false" to dis-allow mentions within tickets. # Set to "false" to dis-allow mentions within tickets.
# Ticket Panel (Ticket Reaction Create) # Ticket Panel (Ticket Reaction Create)
ReactionTickets: "true" ReactionTickets: true
ReactionMessage: "React with %reaction_emoji% to create a Support Ticket!" ReactionMessage: "React with %reaction_emoji% to create a Support Ticket!"
ReactionPanel_Description: "true" ReactionPanel_Description: true
ReactionDescription: "Create a support ticket to contact a member of staff." ReactionDescription: "Create a support ticket to contact a member of staff."
ReactionChannel: "create-ticket" ReactionChannel: "create-ticket"
ReactionEmoji: "📩" ReactionEmoji: "📩"
# Custom Emojis: <:test:EMOJI_ID> # Custom Emojis: <:test:EMOJI_ID>
ReactionPanel_Thumbnail: "true" ReactionPanel_Thumbnail: true
ReactionThumbnail: "https://hotemoji.com/images/dl/5/ticket-emoji-by-twitter.png" ReactionThumbnail: "https://hotemoji.com/images/dl/5/ticket-emoji-by-twitter.png"
ReactionPanel_Image: true
ReactionImage: "https://wallpapercave.com/wp/wp4462546.jpg"
Ticket_Thumbnail: "https://images.emojiterra.com/google/android-pie/512px/1f39f.png" Ticket_Thumbnail: "https://images.emojiterra.com/google/android-pie/512px/1f39f.png"
Ticket_Title: "Server Support | %ticketusername%" Ticket_Title: "Server Support | %ticketusername%"
@@ -154,6 +155,23 @@ AnnouncementIcon: "https://i.imgur.com/HbkZyB7.png"
AnnouncementStarter: "What would you like to announce?" AnnouncementStarter: "What would you like to announce?"
# Moderation System Configuration
BanTitle: "User Banned!"
DaysBannedFor: 7
BanLogColour: "#D911B4"
KickTitle: "User Kicked!"
KickLogColour: "#D9B111"
ModThumbnail: "https://i.imgur.com/l6P3DF6.png"
ModLogChannel: "mod-logs"
PruneLogTitle: "Bulk Delete"
PruneThumbnail: "https://i.imgur.com/OAgW2vR.png"
PruneColour: "#1BA30C"
# General Command Configuration # General Command Configuration
HelpCommand: "help" HelpCommand: "help"
@@ -172,10 +190,13 @@ RenameTicket: "rename"
# Staff Command Configuration # Staff Command Configuration
BotSay: "say" BotSay: "say"
PurgeMessage: "purge"
# Admin Command Configuration # Admin Command Configuration
AnnounceCommand: "announce" AnnounceCommand: "announce"
BanUser: "ban"
KickUser: "kick"
# Commmand Descriptions # Commmand Descriptions
@@ -189,6 +210,9 @@ RemoveUserDesc: "Remove a user from a support ticket"
AddUserDesc: "Add a user to a support ticket" AddUserDesc: "Add a user to a support ticket"
SuggestionDesc: "Create a server suggestion" SuggestionDesc: "Create a server suggestion"
BotSayDesc: "Say something with the bot" BotSayDesc: "Say something with the bot"
BanDesc: "Ban a member from this server."
KickDesc: "Kick a member from this server."
PurgeDesc: "Purge messages from the chat."
# Error / Warining Messages # Error / Warining Messages