Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change success emoji #10

Merged
merged 1 commit into from
Jun 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 });
}
}