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

patch(peepo): Use Microsoft Teams emojis in verify commands #183

Merged
merged 2 commits into from
Aug 11, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { APIEmbed } from 'discord.js'
export class VerifyHintEmbed implements APIEmbed {
description: string
thumbnail = {
url: 'https://i.imgur.com/ua8y2eo.png',
url: 'https://em-content.zobj.net/source/microsoft-teams/363/locked_1f512.png',
}

constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { APIEmbed } from 'discord.js'
export class VerifyPlayerEmbed implements APIEmbed {
description: string
thumbnail = {
url: 'https://i.imgur.com/ua8y2eo.png',
url: 'https://em-content.zobj.net/source/microsoft-teams/363/locked_1f512.png',
}

constructor(player: Player) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ import { EmbedColors } from '@ps2gg/discord/constants'
import { APIEmbed } from 'discord.js'

export class VerifySuccessEmbed implements APIEmbed {
title?: string
description: string
color = EmbedColors.Success
thumbnail = {
url: 'https://em-content.zobj.net/source/microsoft-teams/363/unlocked_1f513.png',
}
footer = { text: 'Verification process powered by ps2.gg' }

constructor(name: string) {
this.title = `You are now verified as ${name}!`
this.description = `## You are now verified as ${name}!\nCommands with verification requirements will now always include this character. To see everyone you're verified as, use \`/whoami\`.`
}
}
1 change: 0 additions & 1 deletion services/peepo/src/infrastructure/SlashCommand/Friends.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { CommandInteraction } from 'discord.js'
import { showVerification } from '../../application/Command/Verification/ShowVerification'
import { showVerificationHint } from '../../application/Command/Verification/ShowVerificationHint'
import { getAltWideFriends } from '../../application/Query/Friends/GetAltWideFriends'
import { VerifyHintEmbed } from '../../domain/Embed/Verification/VerifyHintEmbed'
import { Friends, FriendsOptions } from '../../domain/Meta/Friends'

@Command(Friends)
Expand Down