enhance(client): tweak brain diver detection
This commit is contained in:
parent
b4835c7e01
commit
aa01ba7cce
|
@ -658,7 +658,14 @@ async function post(ev?: MouseEvent) {
|
||||||
if ((text.includes('love') || text.includes('❤')) && text.includes('misskey')) {
|
if ((text.includes('love') || text.includes('❤')) && text.includes('misskey')) {
|
||||||
claimAchievement('iLoveMisskey');
|
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');
|
claimAchievement('brainDiver');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue