Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Frenkii committed Dec 26, 2023
2 parents 0c78e9c + d931787 commit 79f1e83
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ FROM base as production
COPY --from=build --chown=node:node /opt/dist ./dist
COPY --from=modules --chown=node:node /opt/node_modules ./node_modules

CMD node dist/backend/app.js
CMD node dist/src/index.js
6 changes: 2 additions & 4 deletions src/commands/admin/manageMemberDepartmentRolesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ export default class KickCommand extends SlashCommand {
}

async run(interaction: ChatInputCommandInteraction) {
let answer: InteractionResponse<boolean> | undefined = undefined;

try {
answer = await interaction.deferReply({ ephemeral: true });
await interaction.deferReply({ ephemeral: true });

await manageMemberRoles()
await manageMemberRoles();

await interaction.followUp({
embeds: [
Expand Down
3 changes: 2 additions & 1 deletion src/embeds/onlineEmbed.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { EmbedBuilder } from 'discord.js';
import { DiscordBotClient } from '../core/client';
import { Config } from '../core/config';
import * as packageJson from '../../package.json';

export const onlineEmbed = () =>
new EmbedBuilder()
.setColor('Green')
.setTitle('Bot Started')
.setDescription(`**Version: ** ${process.env.npm_package_version}`)
.setDescription(`**Version: ** ${packageJson.version}`)
.setTimestamp()
.setFooter({
text: Config.BOT_NAME,
Expand Down

0 comments on commit 79f1e83

Please sign in to comment.