Skip to content

Commit

Permalink
yeah
Browse files Browse the repository at this point in the history
  • Loading branch information
MsVoxxie committed Jul 8, 2024
1 parent 53b197c commit 9c4eac0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion commands/configuration/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = {
subCommand
.setName('setmessage')
.setDescription('Set the welcome message')
.addStringOption((option) => option.setName('message').setDescription('Templates: {SERVER_NAME} {USER_NAME}').setRequired(true))
.addStringOption((option) => option.setName('message').setDescription('Templates: {SERVER_NAME} {USER_NAME} {USER_MENTION}').setRequired(true))
)
)
.addSubcommandGroup((subGroup) =>
Expand Down
7 changes: 2 additions & 5 deletions events/auditlogs/guildMemberAdd.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ module.exports = {
.setTitle('Member Joined')
.setThumbnail(member.displayAvatarURL())
.setImage('https://vii.voxxie.me/v1/client/static/util/divider.png')
.addFields(
{ name: 'Member Name', value: member.displayName, inline: true },
{ name: 'Joined', value: client.relTimestamp(Date.now()), inline: true }
);
.addFields({ name: 'Member Name', value: member.displayName, inline: true }, { name: 'Joined', value: client.relTimestamp(Date.now()), inline: true });

// Send message
await auditLogChannel.send({ embeds: [embed] });
Expand All @@ -34,7 +31,7 @@ module.exports = {
if (welcomeChannel) {
// Fetch Welcome Text
const welcomeText = settings.welcomeMessage;
const welcomeMessage = welcomeText.replace('{SERVER_NAME}', member.guild.name).replace('{USER_NAME}', member.displayName);
const welcomeMessage = welcomeText.replace('{SERVER_NAME}', member.guild.name).replace('{USER_NAME}', member.displayName).replace('{USER_MENTION}', member);

// Build Embed
const embed = new EmbedBuilder()
Expand Down
2 changes: 1 addition & 1 deletion events/autovoice/voiceState.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
type: ChannelType.GuildVoice,
parent: creatorChannel.parent,
userLimit: data.childDefaultMaxUsers,
position: creatorChannel.position + 1,
position: creatorChannel.position + 0,
});

// Dont audit the channel creation
Expand Down
6 changes: 6 additions & 0 deletions events/executors/04 messageCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,11 @@ module.exports = {
'[Fi.sh](https://fish.voxxie.me/the/carp/is/a/hardy/greenish/brown/fish/it/is/native/to/eurasia/but/has/been/introduced/into/northamerica/and/elsewhere/a/large-scaled/fish/with/two/barbels/on/each/side/of/its/upper/jaw/the/carp/lives/alone/or/in/small/schools/in/quiet/weedy/mud-bottomed/ponds/lakes/and/rivers/carp.mp4)'
);
}
// Plap!
if (command === 'plap') {
msg.channel.send(
'[Plap!](https://cdn.discordapp.com/attachments/988469231760838723/1024130111873753108/plap.mp4?ex=6685fa7e&is=6684a8fe&hm=b1b8063e08861bc8f948191c45fbd088cb09e093edf2f4325731e963759319aa&)'
);
}
},
};

0 comments on commit 9c4eac0

Please sign in to comment.