Skip to content

Commit

Permalink
fix: marquinhos web url on lastfm command
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilhermeasper committed May 26, 2024
1 parent 10fcdd8 commit 2f7f253
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Environment="MONGO_DATABASE_NAME=$MARQUINHOS_MONGO_DATABASE_NAME"
Environment="BOT_ID=$MARQUINHOS_BOT_ID"
Environment="MARQUINHOS_API_KEY=$MARQUINHOS_API_KEY"
Environment="MARQUINHOS_API_URL=$MARQUINHOS_API_URL"
Environment="MARQUINHOS_WEB_URL=$MARQUINHOS_WEB_URL"
Environment="NODE_ENV=production"
User=guilherme
Expand Down
5 changes: 4 additions & 1 deletion src/bot/commands/slashCommands/lastfm.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { SlashCommandBuilder, EmbedBuilder } from 'discord.js';
import dotenv from 'dotenv';

import { SlashCommand } from '@marquinhos/types';

dotenv.config();

export const lastfm: SlashCommand = {
command: new SlashCommandBuilder()
.setName('lastfm')
Expand All @@ -17,7 +20,7 @@ export const lastfm: SlashCommand = {
.setDescription(
`
O marquinhos agora é integrado com o last.fm, para que seja possível registrar as músicas que você escuta nos bots de música.\n\n
Entre em [Marquinhos Web](https://devaneios.guilhermeasper.dev.br:3105/login) para configurar a sua conta!
Entre em [Marquinhos Web](${process.env.MARQUINHOS_WEB_URL}) para configurar a sua conta!
`
)
.setTitle('Integração com o last.fm'),
Expand Down

0 comments on commit 2f7f253

Please sign in to comment.