mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-24 19:26:57 +01:00
enhance(client): tweak brain diver detection
This commit is contained in:
parent
b4835c7e01
commit
aa01ba7cce
1 changed files with 8 additions and 1 deletions
|
@ -658,7 +658,14 @@ async function post(ev?: MouseEvent) {
|
|||
if ((text.includes('love') || text.includes('❤')) && text.includes('misskey')) {
|
||||
claimAchievement('iLoveMisskey');
|
||||
}
|
||||
if (text.includes('Efrlqw8ytg4'.toLowerCase()) || text.includes('XVCwzwxdHuA'.toLowerCase())) {
|
||||
if (
|
||||
text.includes('https://youtu.be/Efrlqw8ytg4'.toLowerCase()) ||
|
||||
text.includes('https://www.youtube.com/watch?v=Efrlqw8ytg4'.toLowerCase()) ||
|
||||
text.includes('https://m.youtube.com/watch?v=Efrlqw8ytg4'.toLowerCase()) ||
|
||||
text.includes('https://youtu.be/XVCwzwxdHuA'.toLowerCase()) ||
|
||||
text.includes('https://www.youtube.com/watch?v=XVCwzwxdHuA'.toLowerCase()) ||
|
||||
text.includes('https://m.youtube.com/watch?v=XVCwzwxdHuA'.toLowerCase())
|
||||
) {
|
||||
claimAchievement('brainDiver');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue