Skip to content

Commit

Permalink
Update intro placeholder, references to "Im good" btn, spacing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
theimperious1 committed Nov 13, 2024
1 parent 6294fa1 commit 1395881
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/discord/commands/global/d.tripsitmode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ async function tripsitmodeOn(
new ActionRowBuilder<TextInputBuilder>().addComponents(new TextInputBuilder()
.setCustomId('introInput')
.setLabel('What\'s going on with them?')
.setPlaceholder('This will be posted in the channel for them to see!')
.setPlaceholder('This will only be visible to helpers and TripSitters.')
.setStyle(TextInputStyle.Paragraph)),
));

Expand Down
8 changes: 4 additions & 4 deletions src/discord/utils/tripsitme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ export async function tripsitmeUserClose(
const target = await interaction.guild.members.fetch(targetId);
const actor = interaction.member as GuildMember;
await actor.fetch();
log.debug(F, `${actor.displayName} (${actor.id}) clicked "I'm good" in ${target.displayName}'s (${target.id}) session `);
log.debug(F, `${actor.displayName} (${actor.id}) clicked "I no longer need help" in ${target.displayName}'s (${target.id}) session `);

if (targetId !== actor.id && !override) {
log.debug(F, 'They did not create the thread, so I am not doing anything!');
Expand Down Expand Up @@ -1310,7 +1310,7 @@ export async function tripSitMe(
If this is a medical emergency please contact your local emergency services: we do not call EMS on behalf of anyone.
When you're feeling better you can use the "I'm Good" button to let the team know you're okay.
When you're feeling better you can use the "I no longer need help" button to let the team know you're okay.
`;

const row = new ActionRowBuilder<ButtonBuilder>()
Expand Down Expand Up @@ -1350,10 +1350,10 @@ export async function tripSitMe(
const embedTripsitter = embedTemplate()
.setColor(Colors.DarkBlue)
.setDescription(stripIndents`
A tripsitter has put ${target} into tripsitmode!
${issue ? `A tripsitter has put ${target} into tripsitmode!\n` : `${target} has requested assistance!\n`}
**They've taken:** ${triage ? `\n${triage}` : noInfo}
${issue}
${intro !== '' ? `${issue}\n` : ''}
**Read the log before interacting**
Use this channel coordinate efforts.
Expand Down

0 comments on commit 1395881

Please sign in to comment.