Skip to content

Commit

Permalink
Merge pull request #10 from woozystudio/symbols
Browse files Browse the repository at this point in the history
fix: change success emoji
  • Loading branch information
woozystudio authored Jun 15, 2024
2 parents dbbac8b + 9bc2ce8 commit 0e7ec63
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion commands/moderation/LockCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ export default class Lock extends Command {
SendMessagesInThreads: false
});

await interaction.reply({ content: `${inlineCode(``)} The channel ${channel} has been successfully locked!`, ephemeral: true });
await interaction.reply({ content: `${inlineCode(`✔️`)} The channel ${channel} has been successfully locked!`, ephemeral: true });
}
}
2 changes: 1 addition & 1 deletion commands/moderation/ReportCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ export default class Report extends Command {
const guildChannel = interaction.guild?.channels.cache.get(`${data.ChannelID}`) as TextChannel;

await guildChannel.send({ embeds: [ReportEmbed] });
await interaction.reply({ content: `${inlineCode('')} Your report has been sent successfully.`, ephemeral: true })
await interaction.reply({ content: `${inlineCode('✔️')} Your report has been sent successfully.`, ephemeral: true })
}
}
2 changes: 1 addition & 1 deletion commands/moderation/UnlockCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ export default class Unlock extends Command {
SendMessagesInThreads: null
});

await interaction.reply({ content: `${inlineCode(``)} The channel ${channel} has been successfully unlocked!`, ephemeral: true });
await interaction.reply({ content: `${inlineCode(`✔️`)} The channel ${channel} has been successfully unlocked!`, ephemeral: true });
}
}
2 changes: 1 addition & 1 deletion embeds/SuccessEmbed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import EmbedWrapper from './EmbedWrapper.js';
export default class SuccessEmbed extends EmbedWrapper {
constructor(description: string) {
super();
this.setDescription(`${inlineCode("")} ${description}`);
this.setDescription(`${inlineCode("✔️")} ${description}`);
this.setColor(0x43B582);
}

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eclipse/eclipse",
"version": "0.5.1",
"version": "0.6.0",
"description": "",
"scripts": {
"clean": "del /s /q build",
Expand Down
2 changes: 1 addition & 1 deletion selectMenus/join-roles/ConfigRolesSelectMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export default class JoinRolesConfigSelectMenu extends SelectMenu {
const selectedRoles = interaction.values;
await JoinRolesConfig.findOneAndUpdate({ GuildID: interaction.guild?.id }, { RoleID: selectedRoles, }, { new: true, upsert: true });

await interaction.reply({ content: `${inlineCode('')} The join-roles plugin has been successfully configured.`, ephemeral: true });
await interaction.reply({ content: `${inlineCode('✔️')} The join-roles plugin has been successfully configured.`, ephemeral: true });
}
}
2 changes: 1 addition & 1 deletion subCommands/configuration/JoinToCreateSubCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ export default class JoinToCreate extends SubCommand {

await JoinToCreateConfig.findOneAndUpdate({ GuildID: interaction.guild?.id }, { ChannelID: channel.id, ParentID: category.id }, { new: true, upsert: true });

await interaction.reply({ content: `${inlineCode('')} The join to create plugin has been successfully configured.`, ephemeral: true });
await interaction.reply({ content: `${inlineCode('✔️')} The join to create plugin has been successfully configured.`, ephemeral: true });
}
}
2 changes: 1 addition & 1 deletion subCommands/configuration/ReportsSubCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ export default class Reports extends SubCommand {

await ReportsConfig.findOneAndUpdate({ GuildID: interaction.guild?.id }, { ChannelID: channel.id, }, { new: true, upsert: true });

await interaction.reply({ content: `${inlineCode('')} The reporting plugin has been successfully configured.`, ephemeral: true });
await interaction.reply({ content: `${inlineCode('✔️')} The reporting plugin has been successfully configured.`, ephemeral: true });
}
}

0 comments on commit 0e7ec63

Please sign in to comment.