Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/smogon/Pokemon-Showdown int…
Browse files Browse the repository at this point in the history
…o master
  • Loading branch information
DaWoblefet committed Oct 30, 2020
2 parents 11034f5 + 1ab6091 commit fc50ac1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/chat-plugins/helptickets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1135,13 +1135,13 @@ export const commands: ChatCommands = {
this.tr` Or if ${reportTarget} is not the user you want to report, please tell us the name of the user who you want to report.`;
break;
case 'Inappropriate Username':
staffIntroButtons = `<button class="button" name="send" value="/forcerename ${reportTarget}">Force-rename ${reportTarget}</button> `;
staffIntroButtons = Utils.html`<button class="button" name="send" value="/forcerename ${reportTarget}">Force-rename ${reportTarget}</button> `;
break;
}
staffIntroButtons += `<button class="button" name="send" value="/modlog global, user='${reportTarget}'>Global Modlog for ${reportTarget}</button> <button class="button" name="send" value="/sharedbattles ${user.id}, ${toID(reportTarget)}">Shared battles</button> `;
staffIntroButtons += Utils.html`<button class="button" name="send" value="/modlog global, user='${reportTarget}'">Global Modlog for ${reportTarget}</button> <button class="button" name="send" value="/sharedbattles ${user.id}, ${toID(reportTarget)}">Shared battles</button> `;
}
if (ticket.type === 'Appeal') {
staffIntroButtons += `<button class="button" name="send" value="/modlog global, user='${user.name}'">Global Modlog for ${user.name}</button>`;
staffIntroButtons += Utils.html`<button class="button" name="send" value="/modlog global, user='${user.name}'">Global Modlog for ${user.name}</button>`;
}
const introMsg = Utils.html`<h2 style="margin-top:0">${this.tr`Help Ticket`} - ${user.name}</h2>` +
`<p><b>${this.tr`Issue`}</b>: ${ticket.type}<br />${this.tr`A Global Staff member will be with you shortly.`}</p>`;
Expand Down

0 comments on commit fc50ac1

Please sign in to comment.