Advertisement
RealDjox

followtime_RealDjox

Nov 11th, 2023 (edited)
817
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a=["has been following","for","years","year","months","month","weeks","week","days","day","hours","hour","minutes","minute","seconds","second","is not following"];
  2. b=["подписан на","уже","г","г","мес","мес","нед","нед","дн","дн","ч","ч","мин","мин","сек","сек","не подписан на"];
  3. for(i=0;i<a.length;i++){
  4.     t=t.replace(a[i], b[i]);
  5. }
  6. if(t.includes('не подписан')){
  7.     if(t.split(' ')[0] === '@realdjox'){
  8.         emotes = ["EZ", "CoolCat", "Chel", "PopNemo"];
  9.         unsub = 'RealDjox владелец этого канала ' + emotes[Math.floor(Math.random() * emotes.length)];
  10.     }
  11.     else{
  12.         emotes = ['NotLikeThis','PoroSad','BibleThump', 'peepoSad'];
  13.         unsub=t.split(' ')[0] + ' не подписан на канал ' + emotes[Math.floor(Math.random() * emotes.length)];
  14.     }
  15.     t=unsub;
  16. }
  17. if(t.includes('@realdjox уже')){
  18.     t=t.replace('@realdjox', 'RealDjox');
  19. }
  20. if (t.toLowerCase().includes('could not find a twitch account')){
  21.     t='Не удалось найти пользователя -> ' + t.split(' ').pop();
  22. }
  23. if (t.toLowerCase().includes('could not get users from twitch api')){
  24.     t='Не удалось получить пользователей из Twitch API, имя пользователя недействительно -> ' + t.split(' ').pop();
  25. }
  26. if (t.toLowerCase().includes('remote server')){
  27.     t='Ошибка сервера 404: пользователь не найден.';
  28. }
  29.  
  30. if(t.split(' ')[0] === '@lizkasosiska19'){
  31.     t = t + ' [P.S. с 01.11.2020]'
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement